Browse Source

!ENABLED => DISABLED

Scott Lahteine 5 years ago
parent
commit
50c9b33ed7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp

+ 2
- 2
Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp View File

57
 
57
 
58
 #include "../../inc/MarlinConfigPre.h"
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
 #undef SPI_SPEED
62
 #undef SPI_SPEED
63
 #define SPI_SPEED 2  // About 2 MHz
63
 #define SPI_SPEED 2  // About 2 MHz
144
   return 1;
144
   return 1;
145
 }
145
 }
146
 
146
 
147
-#endif // HAS_GRAPHICAL_LCD
147
+#endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920
148
 #endif // ARDUINO_ARCH_SAM
148
 #endif // ARDUINO_ARCH_SAM

Loading…
Cancel
Save