forked from mirror/qmk_firmware
SERIAL_PIN_PORT and other PIN define move to serial_backward_compatibility.h SERIAL_BACKLIT_START move to split_util.h
16 lines
367 B
C
16 lines
367 B
C
/* serial.h backward compatibility */
|
|
|
|
#ifndef SERIAL_PIN_DDR
|
|
#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
|
|
#endif
|
|
|
|
#ifndef SERIAL_SLAVE_BUFFER_LENGTH
|
|
#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
|
|
#define SERIAL_MASTER_BUFFER_LENGTH 1
|
|
#endif
|
|
|