Serial and pins debug cleanup
- Rename some AVR / DUE / ESP32 serial types - Reduce two #error to one static_assert - Update AVR/DUE error messages
This commit is contained in:
@ -68,6 +68,8 @@ extern USBSerialType USBSerial;
|
||||
#elif WITHIN(SERIAL_PORT, 0, 3)
|
||||
DECLARE_SERIAL(SERIAL_PORT);
|
||||
#define MYSERIAL1 MSERIAL(SERIAL_PORT)
|
||||
#else
|
||||
#error "The required SERIAL_PORT must be from 0 to 3, or -1 for Native USB."
|
||||
#endif
|
||||
|
||||
#define HAL_SERVO_LIB libServo
|
||||
|
Reference in New Issue
Block a user