Tidy up adjustable ws2812 timing (#15299)
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
#endif
|
||||
#define BYTES_FOR_LED (BYTES_FOR_LED_BYTE * WS2812_CHANNELS)
|
||||
#define DATA_SIZE (BYTES_FOR_LED * RGBLED_NUM)
|
||||
#define RESET_SIZE (1000 * WS2812_TRST_US / (2 * 1250))
|
||||
#define RESET_SIZE (1000 * WS2812_TRST_US / (2 * WS2812_TIMING))
|
||||
#define PREAMBLE_SIZE 4
|
||||
|
||||
static uint8_t txbuf[PREAMBLE_SIZE + DATA_SIZE + RESET_SIZE] = {0};
|
||||
|
||||
Reference in New Issue
Block a user