summaryrefslogtreecommitdiffstats
path: root/keyboards/converter/adb_usb/matrix.c
diff options
context:
space:
mode:
authorPeter Roe <pete@13bit.me>2019-02-02 14:43:58 -0600
committerDrashna Jaelre <drashna@live.com>2019-02-02 12:43:58 -0800
commite9c9c3a4fa1f9a3d948b58315b5d85369392fa6a (patch)
treeaa55074c7184cbe8546798ef3a0a94fd97375c5d /keyboards/converter/adb_usb/matrix.c
parent4e2007b855ab32923b2f85cd1ff5222b8bad7804 (diff)
[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.
Diffstat (limited to 'keyboards/converter/adb_usb/matrix.c')
-rw-r--r--keyboards/converter/adb_usb/matrix.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/converter/adb_usb/matrix.c b/keyboards/converter/adb_usb/matrix.c
index 8ee48bf23f..4a70eb5021 100644
--- a/keyboards/converter/adb_usb/matrix.c
+++ b/keyboards/converter/adb_usb/matrix.c
@@ -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();
}