Skip to content

Commit

Permalink
🐛 Fix MKS_MINI_12864 build for ESP32 (#24071)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored Apr 23, 2022
1 parent ac4fefa commit bd27490
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/HAL/ESP32/u8g_esp32_spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <U8glib-HAL.h>
#include "Arduino.h"
Expand Down Expand Up @@ -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

0 comments on commit bd27490

Please sign in to comment.