MMU2 as standard serial device (#20771)

This commit is contained in:
Giuliano Zaro
2021-01-16 03:38:34 +01:00
committed by Scott Lahteine
parent 0364ae4908
commit a5d2180bf5
12 changed files with 91 additions and 21 deletions

View File

@@ -97,6 +97,13 @@ typedef int8_t pin_t;
#endif
#endif
#ifdef MMU2_SERIAL_PORT
#if !WITHIN(MMU2_SERIAL_PORT, -1, 3)
#error "MMU2_SERIAL_PORT must be from -1 to 3. Please update your configuration."
#endif
#define MMU2_SERIAL mmuSerial
#endif
#ifdef LCD_SERIAL_PORT
#if !WITHIN(LCD_SERIAL_PORT, -1, 3)
#error "LCD_SERIAL_PORT must be from -1 to 3. Please update your configuration."