summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorJennifer <me@nowhere>2017-11-03 09:31:33 +0100
committerJack Humbert <jack.humb@gmail.com>2017-11-03 16:55:07 +0100
commit29d1abff0760a8ab1ee001e518158440f9513af9 (patch)
treea733939f705da9658514d7ed52b286cdee764e19 /keyboards
parentb546da0a19120e07a6d9a6b2e2e34e815d3ec46a (diff)
downloadqmk_firmware-29d1abff0760a8ab1ee001e518158440f9513af9.tar.gz
qmk_firmware-29d1abff0760a8ab1ee001e518158440f9513af9.tar.xz
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 8005b3beb..33122846c 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) {