Browse Source

🐛 Fix MKS_MINI_12864 build for ESP32 (#24071)

FB4S_WIFI
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
18b17fc97d
  1. 5
      Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp

5
Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp

@ -25,7 +25,7 @@
#include "../../inc/MarlinConfigPre.h" #include "../../inc/MarlinConfigPre.h"
#if ENABLED(FYSETC_MINI_12864_2_1) #if EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1)
#include <U8glib-HAL.h> #include <U8glib-HAL.h>
#include "Arduino.h" #include "Arduino.h"
@ -96,5 +96,6 @@ uint8_t u8g_eps_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_pt
return 1; return 1;
} }
#endif // FYSETC_MINI_12864_2_1 #endif // EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1)
#endif // ARDUINO_ARCH_ESP32 #endif // ARDUINO_ARCH_ESP32

Loading…
Cancel
Save