[Keyboard] ADB converter lock LED fix (#5035)
* Enabled ADB lock LEDs * Updated converter/adb_usb/README.md Fixed a typo in the readme title. Added the lock LED fix to the changelog.
This commit is contained in:
parent
4e2007b855
commit
e9c9c3a4fa
4 changed files with 7 additions and 11 deletions
|
@ -58,26 +58,20 @@ void matrix_scan_user(void) {
|
|||
|
||||
void matrix_init(void)
|
||||
{
|
||||
// LED on
|
||||
DDRD |= (1<<6); PORTD |= (1<<6);
|
||||
|
||||
adb_host_init();
|
||||
|
||||
// wait for keyboard to boot up and receive command
|
||||
_delay_ms(2000);
|
||||
|
||||
// initialize matrix state: all keys off
|
||||
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
|
||||
|
||||
led_set(host_keyboard_leds());
|
||||
|
||||
// debug_enable = false;
|
||||
// debug_enable = true;
|
||||
// debug_matrix = true;
|
||||
// debug_keyboard = true;
|
||||
// debug_mouse = true;
|
||||
// print("debug enabled.\n");
|
||||
|
||||
// LED off
|
||||
DDRD |= (1<<6); PORTD &= ~(1<<6);
|
||||
matrix_init_quantum();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue