diff options
| author | QMK Bot <hello@qmk.fm> | 2020-06-20 03:37:04 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2020-06-20 03:37:04 +0000 |
| commit | 8b572de5236589ea91e2f0cce218298e67b9f5ee (patch) | |
| tree | b6883f45adece85299cb31439385ae131823d62e | |
| parent | 18e561b82cdb71bed0162b3ce4083a2d269e5336 (diff) | |
| download | qmk_firmware-8b572de5236589ea91e2f0cce218298e67b9f5ee.tar.gz qmk_firmware-8b572de5236589ea91e2f0cce218298e67b9f5ee.zip | |
format code according to conventions [skip ci]
| -rw-r--r-- | drivers/chibios/ws2812.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/chibios/ws2812.c b/drivers/chibios/ws2812.c index 5917b7f0e..0440cac75 100644 --- a/drivers/chibios/ws2812.c +++ b/drivers/chibios/ws2812.c | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | 51 | ||
| 52 | // The reset gap can be 6000 ns, but depending on the LED strip it may have to be increased | 52 | // The reset gap can be 6000 ns, but depending on the LED strip it may have to be increased |
| 53 | // to values like 600000 ns. If it is too small, the pixels will show nothing most of the time. | 53 | // to values like 600000 ns. If it is too small, the pixels will show nothing most of the time. |
| 54 | #define RES (1000 * WS2812_TRST_US) // Width of the low gap between bits to cause a frame to latch | 54 | #define RES (1000 * WS2812_TRST_US) // Width of the low gap between bits to cause a frame to latch |
| 55 | 55 | ||
| 56 | void sendByte(uint8_t byte) { | 56 | void sendByte(uint8_t byte) { |
| 57 | // WS2812 protocol wants most significant bits first | 57 | // WS2812 protocol wants most significant bits first |
