|
#if (ws2812_interrupt_handling) |
|
" clt \n\t" |
|
#endif |
the condition should be negated: #if (!ws2812_interrupt_handling)
otherwise the macro w_nop2 might do a 1 cycle delay in case T happens to be set.
#if (ws2812_interrupt_handling)
#define w_nop2 "brid .+0 \n\t"
#else
#define w_nop2 "brtc .+0 \n\t"
#endif
light_ws2812/light_ws2812_AVR/Light_WS2812/light_ws2812.c
Lines 148 to 150 in 4a3a289
the condition should be negated:
#if (!ws2812_interrupt_handling)otherwise the macro
w_nop2might do a 1 cycle delay in caseThappens to be set.