From: tmk Date: Fri, 8 Jan 2016 01:39:23 +0000 (+0900) Subject: adb_usb: Add LED flash on startup X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c219570e54caed947882c26266a6b85ab9a3a493;p=max%2Ftmk_keyboard.git adb_usb: Add LED flash on startup --- diff --git a/converter/adb_usb/matrix.c b/converter/adb_usb/matrix.c index 6220ee6e..dad71758 100644 --- a/converter/adb_usb/matrix.c +++ b/converter/adb_usb/matrix.c @@ -86,6 +86,12 @@ void matrix_init(void) //debug_keyboard = true; //debug_mouse = true; print("debug enabled.\n"); + + // LED flash + DDRD |= (1<<6); PORTD |= (1<<6); + _delay_ms(500); + DDRD |= (1<<6); PORTD &= ~(1<<6); + return; }