Allow TMC baud rate override (#15773)

This commit is contained in:
Jason Smith
2019-11-06 15:08:12 -08:00
committed by Scott Lahteine
parent d9b0b964be
commit 814a2eaf8f
13 changed files with 61 additions and 26 deletions

View File

@@ -95,6 +95,9 @@
#define E1_SERIAL_RX_PIN P2_02
#define E2_SERIAL_TX_PIN P2_06
#define E2_SERIAL_RX_PIN P2_06
// Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200
#else
#error "TMC2208 UART configuration is required for GMarsh X6."
#endif