From 50c9b33ed7eb2329558befc9c16c0be588c72a08 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 13 Jun 2019 20:37:29 -0500 Subject: [PATCH] !ENABLED => DISABLED --- Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp b/Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp index 802e11757f..319ee8d4ac 100644 --- a/Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp +++ b/Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp @@ -57,7 +57,7 @@ #include "../../inc/MarlinConfigPre.h" -#if HAS_GRAPHICAL_LCD && !ENABLED(U8GLIB_ST7920) +#if HAS_GRAPHICAL_LCD && DISABLED(U8GLIB_ST7920) #undef SPI_SPEED #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 return 1; } -#endif // HAS_GRAPHICAL_LCD +#endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920 #endif // ARDUINO_ARCH_SAM