summaryrefslogtreecommitdiff
path: root/keyboards
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 /keyboards
parentb546da0a19120e07a6d9a6b2e2e34e815d3ec46a (diff)
have led default to off on start up
Diffstat (limited to 'keyboards')
-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 8005b3bebd..33122846c9 100644
--- a/keyboards/dz60/dz60.c
+++ b/keyboards/dz60/dz60.c
@@ -16,7 +16,9 @@ void matrix_scan_kb(void) {
void led_init_ports(void) {
// Set caps lock LED pin as output
- DDRB |= (1<<2);
+ DDRB |= (1 << 2);
+ // Default to off
+ PORTB |= (1 << 2);
}
void led_set_kb(uint8_t usb_led) {