have led default to off on start up

subvendor_ids
Jennifer 7 years ago committed by Jack Humbert
parent b546da0a19
commit 29d1abff07

@ -17,6 +17,8 @@ void matrix_scan_kb(void) {
void led_init_ports(void) { void led_init_ports(void) {
// Set caps lock LED pin as output // 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) { void led_set_kb(uint8_t usb_led) {

Loading…
Cancel
Save