Browse Source

🐛 Fix MKS_MINI_12864 build for ESP32 (#24071)

ellensp 2 years ago
parent
commit
bd27490adb
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp

+ 3
- 2
Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp View File

@@ -25,7 +25,7 @@
25 25
 
26 26
 #include "../../inc/MarlinConfigPre.h"
27 27
 
28
-#if ENABLED(FYSETC_MINI_12864_2_1)
28
+#if EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1)
29 29
 
30 30
 #include <U8glib-HAL.h>
31 31
 #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
96 96
   return 1;
97 97
 }
98 98
 
99
-#endif // FYSETC_MINI_12864_2_1
99
+#endif // EITHER(MKS_MINI_12864, FYSETC_MINI_12864_2_1)
100
+
100 101
 #endif // ARDUINO_ARCH_ESP32

Loading…
Cancel
Save