diff options
author | Drashna Jaelre <drashna@live.com> | 2019-01-28 00:00:42 -0800 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-04-05 14:58:42 -0700 |
commit | a615a2ae93107c5f4ddcb447a562af1a721a00d9 (patch) | |
tree | 36dd6222dc8d702af3a6b3364493e37052bbc124 /keyboards/orthodox/serial.h | |
parent | ced2bbdac8018b08f229460b289ff5a7fce5dd43 (diff) | |
download | firmware-a615a2ae93107c5f4ddcb447a562af1a721a00d9.tar.gz firmware-a615a2ae93107c5f4ddcb447a562af1a721a00d9.tar.bz2 firmware-a615a2ae93107c5f4ddcb447a562af1a721a00d9.zip |
Convert Orthodox to Split Common code
Diffstat (limited to 'keyboards/orthodox/serial.h')
-rw-r--r-- | keyboards/orthodox/serial.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/keyboards/orthodox/serial.h b/keyboards/orthodox/serial.h deleted file mode 100644 index a46a98c94..000000000 --- a/keyboards/orthodox/serial.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef MY_SERIAL_H -#define MY_SERIAL_H - -#include "config.h" -#include <stdbool.h> -#include "matrix.h" - -/* TODO: some defines for interrupt setup */ -#define SERIAL_PIN_DDR DDRD -#define SERIAL_PIN_PORT PORTD -#define SERIAL_PIN_INPUT PIND -#define SERIAL_PIN_MASK _BV(PD0) -#define SERIAL_PIN_INTERRUPT INT0_vect - -#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -#define SERIAL_MASTER_BUFFER_LENGTH 1 - -// Buffers for master - slave communication -extern volatile matrix_row_t serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH]; -extern volatile matrix_row_t serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH]; - -void serial_master_init(void); -void serial_slave_init(void); -int serial_update_buffers(void); -bool serial_slave_data_corrupt(void); - -#endif |