summary refs log tree commit diff
path: root/drivers
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-06-22 11:21:48 +1000
committerGitHub <noreply@github.com>2020-06-22 11:21:48 +1000
commit3d6d89966614be1e80d9957fb83743934c5eb162 (patch)
treea1c467283575fa7a596c27c0794a34347662f371 /drivers
parentcb13dd0a33c153d8cb0a26596489804c012eaae4 (diff)
`qmk cformat` (#9500)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/issi/is31fl3741.c5
-rw-r--r--drivers/ws2812.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/issi/is31fl3741.c b/drivers/issi/is31fl3741.c
index 45d2b40990..ab4b31465b 100644
--- a/drivers/issi/is31fl3741.c
+++ b/drivers/issi/is31fl3741.c
@@ -24,7 +24,6 @@
 #include "i2c_master.h"
 #include "progmem.h"
 
-
 // This is a 7-bit address, that gets left-shifted and bit 0
 // set to 0 for write, 1 for read (as per I2C protocol)
 // The address will vary depending on your wiring:
@@ -178,9 +177,9 @@ void IS31FL3741_init(uint8_t addr) {
     // Set Pull up & Down for SWx CSy
     IS31FL3741_write_register(addr, ISSI_REG_PULLDOWNUP, 0x77);
 
-// IS31FL3741_update_led_scaling_registers(addr, 0xFF, 0xFF, 0xFF);
+    // IS31FL3741_update_led_scaling_registers(addr, 0xFF, 0xFF, 0xFF);
 
-// Wait 10ms to ensure the device has woken up.
+    // Wait 10ms to ensure the device has woken up.
     wait_ms(10);
 }
 
diff --git a/drivers/ws2812.h b/drivers/ws2812.h
index 370b14f3e8..f179fcb0ef 100644
--- a/drivers/ws2812.h
+++ b/drivers/ws2812.h
@@ -18,12 +18,12 @@
 #include "quantum/color.h"
 
 /*
- * Older WS2812s can handle a reset time (TRST) of 50us, but recent 
+ * Older WS2812s can handle a reset time (TRST) of 50us, but recent
  * component revisions require a minimum of 280us.
  */
 
 #if !defined(WS2812_TRST_US)
-#define WS2812_TRST_US 280
+#    define WS2812_TRST_US 280
 #endif
 
 /* User Interface