|
@@ -57,7 +57,7 @@
|
57
|
57
|
|
58
|
58
|
#include "../../inc/MarlinConfigPre.h"
|
59
|
59
|
|
60
|
|
-#if HAS_GRAPHICAL_LCD && !ENABLED(U8GLIB_ST7920)
|
|
60
|
+#if HAS_GRAPHICAL_LCD && DISABLED(U8GLIB_ST7920)
|
61
|
61
|
|
62
|
62
|
#undef SPI_SPEED
|
63
|
63
|
#define SPI_SPEED 2 // About 2 MHz
|
|
@@ -144,5 +144,5 @@ uint8_t u8g_com_HAL_DUE_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void
|
144
|
144
|
return 1;
|
145
|
145
|
}
|
146
|
146
|
|
147
|
|
-#endif // HAS_GRAPHICAL_LCD
|
|
147
|
+#endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920
|
148
|
148
|
#endif // ARDUINO_ARCH_SAM
|