summaryrefslogtreecommitdiff
path: root/keyboards/annepro2/annepro2_ble.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-14 22:21:20 +1100
committerGitHub <noreply@github.com>2023-10-14 13:21:20 +0200
commit1bff37781bda1d0c285aa5aa7102d6941ad64e7d (patch)
tree6348d64c7d7bba987e8bb386768fde33f33ace18 /keyboards/annepro2/annepro2_ble.c
parent1da7c8c8d0c70c9f614ce898ee3380db0f04fa27 (diff)
Prep work for NKRO report separation (#22268)
* Clean up some keyboard/userspace code * Rename `KEYBOARD_REPORT_BITS` -> `NKRO_REPORT_BITS` * Add some missing includes * Use `PACKED` define for report types * Fix incorrect function signatures for FlexRAM EEPROM driver
Diffstat (limited to 'keyboards/annepro2/annepro2_ble.c')
-rw-r--r--keyboards/annepro2/annepro2_ble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/annepro2/annepro2_ble.c b/keyboards/annepro2/annepro2_ble.c
index 375f551cc2..b04929e958 100644
--- a/keyboards/annepro2/annepro2_ble.c
+++ b/keyboards/annepro2/annepro2_ble.c
@@ -167,5 +167,5 @@ static void ap2_ble_extra(report_extra_t *report) {
static void ap2_ble_keyboard(report_keyboard_t *report) {
sdPut(&SD1, 0x0);
sdWrite(&SD1, ble_mcu_send_report, sizeof(ble_mcu_send_report));
- sdWrite(&SD1, &report->raw[0], KEYBOARD_REPORT_SIZE);
+ sdWrite(&SD1, (uint8_t *)report, KEYBOARD_REPORT_SIZE);
}