Fix AZSMZ_12864 on SMART RAMPS (#21056)
This commit is contained in:
parent
3c41f108df
commit
e0ca244623
|
@ -307,6 +307,9 @@
|
||||||
*
|
*
|
||||||
* Hardware serial communication ports.
|
* Hardware serial communication ports.
|
||||||
* If undefined software serial is used according to the pins below
|
* If undefined software serial is used according to the pins below
|
||||||
|
*
|
||||||
|
* Serial2 -- AUX-4 Pin 18 (D16 TX2) and AUX-4 Pin 17 (D17 RX2)
|
||||||
|
* Serial1 -- Pins D18 and D19 are used for Z-MIN and Z-MAX
|
||||||
*/
|
*/
|
||||||
//#define X_HARDWARE_SERIAL Serial1
|
//#define X_HARDWARE_SERIAL Serial1
|
||||||
//#define X2_HARDWARE_SERIAL Serial1
|
//#define X2_HARDWARE_SERIAL Serial1
|
||||||
|
@ -690,7 +693,9 @@
|
||||||
#elif ENABLED(AZSMZ_12864)
|
#elif ENABLED(AZSMZ_12864)
|
||||||
|
|
||||||
// Pins only defined for RAMPS_SMART currently
|
// Pins only defined for RAMPS_SMART currently
|
||||||
|
#if DISABLED(IS_RAMPS_SMART)
|
||||||
#error "No pins defined for RAMPS with AZSMZ_12864."
|
#error "No pins defined for RAMPS with AZSMZ_12864."
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif IS_TFTGLCD_PANEL
|
#elif IS_TFTGLCD_PANEL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue