From 29d1abff0760a8ab1ee001e518158440f9513af9 Mon Sep 17 00:00:00 2001 From: Jennifer Date: Fri, 3 Nov 2017 01:31:33 -0700 Subject: [PATCH] have led default to off on start up --- keyboards/dz60/dz60.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/dz60/dz60.c b/keyboards/dz60/dz60.c index 8005b3be..33122846 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) {