SERIAL_PIN_PORT and other PIN define move to serial_backward_compatibility.h SERIAL_BACKLIT_START move to split_util.hpull/4419/head
parent
ad7aa7ee1b
commit
a7af2ad718
@ -0,0 +1,15 @@
|
|||||||
|
/* 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
|
||||||
|
|
Loading…
Reference in new issue