adb_usb: Add LED flash on startup
This commit is contained in:
parent
310a39dd76
commit
c219570e54
@ -86,6 +86,12 @@ void matrix_init(void)
|
|||||||
//debug_keyboard = true;
|
//debug_keyboard = true;
|
||||||
//debug_mouse = true;
|
//debug_mouse = true;
|
||||||
print("debug enabled.\n");
|
print("debug enabled.\n");
|
||||||
|
|
||||||
|
// LED flash
|
||||||
|
DDRD |= (1<<6); PORTD |= (1<<6);
|
||||||
|
_delay_ms(500);
|
||||||
|
DDRD |= (1<<6); PORTD &= ~(1<<6);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user