From bd27490adb047701cbca2314817cd2e501483853 Mon Sep 17 00:00:00 2001 From: ellensp <530024+ellensp@users.noreply.github.com> Date: Sat, 23 Apr 2022 22:02:13 +1200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20MKS=5FMINI=5F12864=20build?= =?UTF-8?q?=20for=20ESP32=20(#24071)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp b/Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp index 0aa66ed2cf..5437e8181b 100644 --- a/Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp +++ b/Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp @@ -25,7 +25,7 @@ #include "../../inc/MarlinConfigPre.h" -#if ENABLED(FYSETC_MINI_12864_2_1) +#if EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1) #include #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; } -#endif // FYSETC_MINI_12864_2_1 +#endif // EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1) + #endif // ARDUINO_ARCH_ESP32