Browse Source

Fix WiFi / ESP32 sanity check (#18808)

vanilla_fb_2.0.x
ellensp 4 years ago
committed by Scott Lahteine
parent
commit
c5108687c5
  1. 4
      Marlin/src/inc/SanityCheck.h

4
Marlin/src/inc/SanityCheck.h

@ -3047,8 +3047,8 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
/** /**
* Sanity check for WIFI * Sanity check for WIFI
*/ */
#if ENABLED(ESP3D_WIFISUPPORT) && DISABLED(ARDUINO_ARCH_ESP32) #if EITHER(ESP3D_WIFISUPPORT, WIFISUPPORT) && DISABLED(ARDUINO_ARCH_ESP32)
#error "ESP3D_WIFISUPPORT requires an ESP32 controller. Use WIFISUPPORT for standalone ESP3D modules." #error "ESP3D_WIFISUPPORT or WIFISUPPORT requires an ESP32 controller."
#endif #endif
// Misc. Cleanup // Misc. Cleanup

Loading…
Cancel
Save