have led default to off on start up
This commit is contained in:
1 parent
b546da0a19
commit
29d1abff07
1 file changed
+3
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user