diff options
Diffstat (limited to 'keyboards/converter/adb_usb/matrix.c')
| -rw-r--r-- | keyboards/converter/adb_usb/matrix.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/converter/adb_usb/matrix.c b/keyboards/converter/adb_usb/matrix.c index 8ee48bf23..4a70eb502 100644 --- a/keyboards/converter/adb_usb/matrix.c +++ b/keyboards/converter/adb_usb/matrix.c | |||
| @@ -58,26 +58,20 @@ void matrix_scan_user(void) { | |||
| 58 | 58 | ||
| 59 | void matrix_init(void) | 59 | void matrix_init(void) |
| 60 | { | 60 | { |
| 61 | // LED on | ||
| 62 | DDRD |= (1<<6); PORTD |= (1<<6); | ||
| 63 | |||
| 64 | adb_host_init(); | 61 | adb_host_init(); |
| 62 | |||
| 65 | // wait for keyboard to boot up and receive command | 63 | // wait for keyboard to boot up and receive command |
| 66 | _delay_ms(2000); | 64 | _delay_ms(2000); |
| 67 | 65 | ||
| 68 | // initialize matrix state: all keys off | 66 | // initialize matrix state: all keys off |
| 69 | for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; | 67 | for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; |
| 70 | 68 | ||
| 71 | led_set(host_keyboard_leds()); | 69 | // debug_enable = true; |
| 72 | |||
| 73 | // debug_enable = false; | ||
| 74 | // debug_matrix = true; | 70 | // debug_matrix = true; |
| 75 | // debug_keyboard = true; | 71 | // debug_keyboard = true; |
| 76 | // debug_mouse = true; | 72 | // debug_mouse = true; |
| 77 | // print("debug enabled.\n"); | 73 | // print("debug enabled.\n"); |
| 78 | 74 | ||
| 79 | // LED off | ||
| 80 | DDRD |= (1<<6); PORTD &= ~(1<<6); | ||
| 81 | matrix_init_quantum(); | 75 | matrix_init_quantum(); |
| 82 | } | 76 | } |
| 83 | 77 | ||
