From c219570e54caed947882c26266a6b85ab9a3a493 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 8 Jan 2016 10:39:23 +0900 Subject: [PATCH] adb_usb: Add LED flash on startup --- converter/adb_usb/matrix.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.46.2