summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-06-22 11:21:48 +1000
committerDrashna Jael're <drashna@live.com>2020-08-08 21:25:14 -0700
commit712a930fa9e1f3f6d9ba77a84b21b04a71c7a21d (patch)
tree4cf34dff214b76483be66a9333fc2e846943c059 /drivers
parent3565e56573b8d1329a4358dda646132355e0596a (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