Browse Source

🐛 Fix MKS_MINI_12864 build for ESP32 (#24071)

ellensp 3 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
 
25
 
26
 #include "../../inc/MarlinConfigPre.h"
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
 #include <U8glib-HAL.h>
30
 #include <U8glib-HAL.h>
31
 #include "Arduino.h"
31
 #include "Arduino.h"
96
   return 1;
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
 #endif // ARDUINO_ARCH_ESP32
101
 #endif // ARDUINO_ARCH_ESP32

Loading…
Cancel
Save