diff options
author | Joel Challis <git@zvecr.com> | 2022-07-31 20:32:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 12:32:45 -0700 |
commit | 2f19579d3f2c8b4041f0128976c00136c5a6a32d (patch) | |
tree | 6e2040ef4c4574edffe09b0386c6574c890e0ba5 /keyboards/yosino58/rev1/split_scomm.h | |
parent | b03a7cef7555119f1cdee95b0c08cafd9f1f18eb (diff) |
Convert yosino58 to use split common (#17861)
Diffstat (limited to 'keyboards/yosino58/rev1/split_scomm.h')
-rw-r--r-- | keyboards/yosino58/rev1/split_scomm.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/keyboards/yosino58/rev1/split_scomm.h b/keyboards/yosino58/rev1/split_scomm.h deleted file mode 100644 index 16887eb74f..0000000000 --- a/keyboards/yosino58/rev1/split_scomm.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#ifndef SERIAL_USE_MULTI_TRANSACTION -/* --- USE Simple API (OLD API, compatible with let's split serial.c) --- */ -#include "serial.h" - -#else -/* --- USE flexible API (using multi-type transaction function) --- */ -// Buffers for master - slave communication -#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -#define SERIAL_MASTER_BUFFER_LENGTH MATRIX_ROWS/2 - -extern volatile uint8_t serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH]; -extern volatile uint8_t serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH]; -extern uint8_t slave_buffer_change_count; - -void serial_master_init(void); -void serial_slave_init(void); -int serial_update_buffers(int master_changed); - -#endif |