|
71 | 71 | #if WITHIN(SERIAL_PORT_2, 1, 6)
|
72 | 72 | #define MYSERIAL2 MSERIAL(SERIAL_PORT_2)
|
73 | 73 | #elif !defined(USBCON)
|
74 |
| - #error "SERIAL_PORT must be from 1 to 6." |
| 74 | + #error "SERIAL_PORT_2 must be from 1 to 6." |
75 | 75 | #elif SERIAL_PORT_2 == -1
|
76 | 76 | #define MYSERIAL2 MSerialUSB
|
77 | 77 | #else
|
|
83 | 83 | #if WITHIN(SERIAL_PORT_3, 1, 6)
|
84 | 84 | #define MYSERIAL3 MSERIAL(SERIAL_PORT_3)
|
85 | 85 | #elif !defined(USBCON)
|
86 |
| - #error "SERIAL_PORT must be from 1 to 6." |
| 86 | + #error "SERIAL_PORT_3 must be from 1 to 6." |
87 | 87 | #elif SERIAL_PORT_3 == -1
|
88 | 88 | #define MYSERIAL3 MSerialUSB
|
89 | 89 | #else
|
|
95 | 95 | #if WITHIN(MMU2_SERIAL_PORT, 1, 6)
|
96 | 96 | #define MMU2_SERIAL MSERIAL(MMU2_SERIAL_PORT)
|
97 | 97 | #elif !defined(USBCON)
|
98 |
| - #error "SERIAL_PORT must be from 1 to 6." |
| 98 | + #error "MMU2_SERIAL_PORT must be from 1 to 6." |
99 | 99 | #elif MMU2_SERIAL_PORT == -1
|
100 | 100 | #define MMU2_SERIAL MSerialUSB
|
101 | 101 | #else
|
|
107 | 107 | #if WITHIN(LCD_SERIAL_PORT, 1, 6)
|
108 | 108 | #define LCD_SERIAL MSERIAL(LCD_SERIAL_PORT)
|
109 | 109 | #elif !defined(USBCON)
|
110 |
| - #error "SERIAL_PORT must be from 1 to 6." |
| 110 | + #error "LCD_SERIAL_PORT must be from 1 to 6." |
111 | 111 | #elif LCD_SERIAL_PORT == -1
|
112 | 112 | #define LCD_SERIAL MSerialUSB
|
113 | 113 | #else
|
|
0 commit comments