1
0

adb_usb: Add LED flash on startup

This commit is contained in:
tmk 2016-01-08 10:39:23 +09:00
parent 310a39dd76
commit c219570e54

View File

@ -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;
} }