Skip to content

Commit

Permalink
Fix strange timing problem on Teensy 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed May 24, 2018
1 parent 3fd89f6 commit b0df118
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OctoWS2811.cpp
Expand Up @@ -331,6 +331,9 @@ void OctoWS2811::show(void)
FTM2_CNT = 0;
update_in_progress = 1;
//digitalWriteFast(9, HIGH); // oscilloscope trigger
#if defined(__MK64FX512__)
asm("nop");
#endif
PORTA_ISFR = (1<<10); // clear any prior rising edge
uint32_t tmp __attribute__((unused));
FTM2_C0SC = 0x28;
Expand Down

0 comments on commit b0df118

Please sign in to comment.