1
0

quantum/split_common/serial.c change to helix-serial.c style serial configuration

This commit is contained in:
mtei
2018-11-13 00:03:49 +09:00
parent a7af2ad718
commit e5eeb93cc8
3 changed files with 64 additions and 17 deletions

View File

@@ -1,11 +1,7 @@
/* 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
#ifndef SOFT_SERIAL_PIN
#define SOFT_SERIAL_PIN D0
#endif
#ifndef SERIAL_SLAVE_BUFFER_LENGTH