fix build
This commit is contained in:
parent
1f8595e2c8
commit
b89538ccd1
2 changed files with 4 additions and 3 deletions
|
@ -125,7 +125,7 @@ void matrix_scan_kb(void) {
|
||||||
|
|
||||||
memcpy(last_matrix, new_matrix, sizeof(last_matrix));
|
memcpy(last_matrix, new_matrix, sizeof(last_matrix));
|
||||||
|
|
||||||
uint8_t buffer[RAW_EPSIZE];
|
uint8_t buffer[3 + sizeof(new_matrix)];
|
||||||
buffer[0] = 'S';
|
buffer[0] = 'S';
|
||||||
buffer[1] = 'T';
|
buffer[1] = 'T';
|
||||||
buffer[2] = 'N';
|
buffer[2] = 'N';
|
||||||
|
@ -134,7 +134,7 @@ void matrix_scan_kb(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void send_unicode_chunk(const char * data, size_t length) {
|
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));
|
memset(buffer, 0, sizeof(buffer));
|
||||||
buffer[0] = 'U';
|
buffer[0] = 'U';
|
||||||
buffer[1] = 'N';
|
buffer[1] = 'N';
|
||||||
|
|
|
@ -18,4 +18,5 @@ SERIAL_DRIVER = vendor
|
||||||
|
|
||||||
RAW_ENABLE = yes
|
RAW_ENABLE = yes
|
||||||
CAPS_WORD_ENABLE = yes
|
CAPS_WORD_ENABLE = yes
|
||||||
KEY_LOCK_ENABLE = yes
|
KEY_LOCK_ENABLE = yes
|
||||||
|
STENO_ENABLE = yes
|
||||||
|
|
Loading…
Reference in a new issue