mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-23 00:44:38 +00:00
have led default to off on start up
This commit is contained in:
parent
b546da0a19
commit
29d1abff07
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@ void matrix_scan_kb(void) {
|
|||
void led_init_ports(void) {
|
||||
// Set caps lock LED pin as output
|
||||
DDRB |= (1 << 2);
|
||||
// Default to off
|
||||
PORTB |= (1 << 2);
|
||||
}
|
||||
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
|
|
Loading…
Reference in a new issue