~ruther/qmk_firmware

8b572de5236589ea91e2f0cce218298e67b9f5ee — QMK Bot 5 years ago 18e561b
format code according to conventions [skip ci]
1 files changed, 1 insertions(+), 1 deletions(-)

M drivers/chibios/ws2812.c
M drivers/chibios/ws2812.c => drivers/chibios/ws2812.c +1 -1
@@ 51,7 51,7 @@

// The reset gap can be 6000 ns, but depending on the LED strip it may have to be increased
// to values like 600000 ns. If it is too small, the pixels will show nothing most of the time.
#define RES (1000 * WS2812_TRST_US) // Width of the low gap between bits to cause a frame to latch
#define RES (1000 * WS2812_TRST_US)  // Width of the low gap between bits to cause a frame to latch

void sendByte(uint8_t byte) {
    // WS2812 protocol wants most significant bits first