Browse Source

Fix for fastest optimization with CPU > 120 MHz

main
PaulStoffregen 7 years ago
parent
commit
13fc9401d9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      WireKinetis.cpp

+ 5
- 0
WireKinetis.cpp View File

} else { } else {
tmp = port().D; tmp = port().D;
} }
#if F_CPU > 120000000
__asm__("nop");
__asm__("nop");
__asm__("nop");
#endif
if (sendStop) port().C1 = I2C_C1_IICEN; if (sendStop) port().C1 = I2C_C1_IICEN;
rxBufferLength = count; rxBufferLength = count;
return count; return count;

Loading…
Cancel
Save