Browse Source

adb_usb: Add LED flash on startup

tags/v2.9
tmk 8 years ago
parent
commit
c219570e54
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      converter/adb_usb/matrix.c

+ 6
- 0
converter/adb_usb/matrix.c View File

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


Loading…
Cancel
Save