diff options
author | QMK Bot <hello@qmk.fm> | 2022-11-15 09:34:22 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-11-15 09:34:22 +0000 |
commit | 594f869619884519692319a44da394f8959d4cdf (patch) | |
tree | 3e361ea6d88597d41b5e5c932094a1d118981e70 /keyboards/annepro2 | |
parent | 4238d49efe7d1fc461864dd57bbdf22a157e7f59 (diff) | |
parent | 4e7f533998a3b2caefb1d12e86b29b07e285a1ce (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/annepro2')
-rw-r--r-- | keyboards/annepro2/annepro2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/annepro2/annepro2.c b/keyboards/annepro2/annepro2.c index 9e17cbcf77..f4ced65436 100644 --- a/keyboards/annepro2/annepro2.c +++ b/keyboards/annepro2/annepro2.c @@ -145,22 +145,22 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { case KC_AP2_BT1: annepro2_ble_broadcast(0); /* FIXME: This hardcodes col/row position */ - ap2_led_blink(0, 1, blue, 8, 50); + ap2_led_blink(record->event.key.row, record->event.key.col, blue, 8, 50); return false; case KC_AP2_BT2: annepro2_ble_broadcast(1); - ap2_led_blink(0, 2, blue, 8, 50); + ap2_led_blink(record->event.key.row, record->event.key.col, blue, 8, 50); return false; case KC_AP2_BT3: annepro2_ble_broadcast(2); - ap2_led_blink(0, 3, blue, 8, 50); + ap2_led_blink(record->event.key.row, record->event.key.col, blue, 8, 50); return false; case KC_AP2_BT4: annepro2_ble_broadcast(3); - ap2_led_blink(0, 4, blue, 8, 50); + ap2_led_blink(record->event.key.row, record->event.key.col, blue, 8, 50); return false; case KC_AP2_USB: |