From b89538ccd14e4d59ec882efa93e908bace359b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 5 Apr 2024 07:46:52 +0100 Subject: [PATCH] fix build --- keyboards/rkb1/keymaps/simple/keymap.c | 4 ++-- keyboards/rkb1/rules.mk | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboards/rkb1/keymaps/simple/keymap.c b/keyboards/rkb1/keymaps/simple/keymap.c index dbb9963281..498b6f7cab 100644 --- a/keyboards/rkb1/keymaps/simple/keymap.c +++ b/keyboards/rkb1/keymaps/simple/keymap.c @@ -125,7 +125,7 @@ void matrix_scan_kb(void) { memcpy(last_matrix, new_matrix, sizeof(last_matrix)); - uint8_t buffer[RAW_EPSIZE]; + uint8_t buffer[3 + sizeof(new_matrix)]; buffer[0] = 'S'; buffer[1] = 'T'; buffer[2] = 'N'; @@ -134,7 +134,7 @@ void matrix_scan_kb(void) { } static void send_unicode_chunk(const char * data, size_t length) { - uint8_t buffer[RAW_EPSIZE]; + uint8_t buffer[7]; memset(buffer, 0, sizeof(buffer)); buffer[0] = 'U'; buffer[1] = 'N'; diff --git a/keyboards/rkb1/rules.mk b/keyboards/rkb1/rules.mk index aee82a06f6..d8fa8b0adc 100644 --- a/keyboards/rkb1/rules.mk +++ b/keyboards/rkb1/rules.mk @@ -18,4 +18,5 @@ SERIAL_DRIVER = vendor RAW_ENABLE = yes CAPS_WORD_ENABLE = yes -KEY_LOCK_ENABLE = yes \ No newline at end of file +KEY_LOCK_ENABLE = yes +STENO_ENABLE = yes