forked from mirror/qmk_firmware
quantum/split_common/serial.c change to helix-serial.c style serial configuration
This commit is contained in:
@@ -3,18 +3,16 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
// ///////////////////////////////////////
|
||||
// Need Soft Serial defines in config.h
|
||||
// ///////////////////////////////////////
|
||||
// eg.
|
||||
// #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
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
// Need Soft Serial defines in config.h
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
// ex.
|
||||
// /* Configuration of lower interface with the lower layer(hardware) of serial.c */
|
||||
// #define SOFT_SERIAL_PIN ?? // ?? = D0,D1,D2,D3,E6
|
||||
//
|
||||
// #define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
|
||||
// #define SERIAL_MASTER_BUFFER_LENGTH 1
|
||||
// /* Configuration of upper interface with the upper layer of serial.c */
|
||||
// #define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
|
||||
// #define SERIAL_MASTER_BUFFER_LENGTH 1
|
||||
|
||||
// Buffers for master - slave communication
|
||||
extern volatile uint8_t serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH];
|
||||
|
||||
Reference in New Issue
Block a user