Skip to content

Commit

Permalink
[LEDSTRIP] Reduce ledstrip timer clock to match CPU clock and yield a…
Browse files Browse the repository at this point in the history
…n integer prescaler
  • Loading branch information
digitalentity committed Jun 8, 2019
1 parent 01240b4 commit b1b373e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/drivers/light_ws2811strip.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

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

#define WS2811_TIMER_HZ 24000000
#define WS2811_TIMER_HZ 2400000
#define WS2811_CARRIER_HZ 800000

void ws2811LedStripInit(void);
Expand Down

0 comments on commit b1b373e

Please sign in to comment.