Skip to content

Commit c8f0364

Browse files
Merge pull request #4805 from iNavFlight/de_ledstrip_timer_freq_fix
Reduce LEDSTRIP timer clock to match CPU clock
2 parents 943545a + b1b373e commit c8f0364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/drivers/light_ws2811strip.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#define WS2811_DMA_BUFFER_SIZE (WS2811_DATA_BUFFER_SIZE + WS2811_DELAY_BUFFER_LENGTH) // number of bytes needed is #LEDs * 24 bytes + 42 trailing bytes)
2828

29-
#define WS2811_TIMER_HZ 24000000
29+
#define WS2811_TIMER_HZ 2400000
3030
#define WS2811_CARRIER_HZ 800000
3131

3232
void ws2811LedStripInit(void);

0 commit comments

Comments
 (0)