aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer <me@nowhere>2017-11-03 01:31:33 -0700
committerJack Humbert <jack.humb@gmail.com>2017-11-03 11:55:07 -0400
commit29d1abff0760a8ab1ee001e518158440f9513af9 (patch)
treea733939f705da9658514d7ed52b286cdee764e19
parentb546da0a19120e07a6d9a6b2e2e34e815d3ec46a (diff)
downloadqmk_firmware-29d1abff0760a8ab1ee001e518158440f9513af9.tar.gz
qmk_firmware-29d1abff0760a8ab1ee001e518158440f9513af9.zip
have led default to off on start up
-rw-r--r--keyboards/dz60/dz60.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/dz60/dz60.c b/keyboards/dz60/dz60.c
index 8005b3beb..33122846c 100644
--- a/keyboards/dz60/dz60.c
+++ b/keyboards/dz60/dz60.c
@@ -16,7 +16,9 @@ void matrix_scan_kb(void) {
16 16
17void led_init_ports(void) { 17void led_init_ports(void) {
18 // Set caps lock LED pin as output 18 // Set caps lock LED pin as output
19 DDRB |= (1<<2); 19 DDRB |= (1 << 2);
20 // Default to off
21 PORTB |= (1 << 2);
20} 22}
21 23
22void led_set_kb(uint8_t usb_led) { 24void led_set_kb(uint8_t usb_led) {