Browse Source

!ENABLED => DISABLED

pull/1/head
Scott Lahteine 6 years ago
parent
commit
50c9b33ed7
  1. 4
      Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp

4
Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi.cpp

@ -57,7 +57,7 @@
#include "../../inc/MarlinConfigPre.h" #include "../../inc/MarlinConfigPre.h"
#if HAS_GRAPHICAL_LCD && !ENABLED(U8GLIB_ST7920) #if HAS_GRAPHICAL_LCD && DISABLED(U8GLIB_ST7920)
#undef SPI_SPEED #undef SPI_SPEED
#define SPI_SPEED 2 // About 2 MHz #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; return 1;
} }
#endif // HAS_GRAPHICAL_LCD #endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920
#endif // ARDUINO_ARCH_SAM #endif // ARDUINO_ARCH_SAM

Loading…
Cancel
Save