Prevent ESP3D_WIFISUPPORT with non-ESP32 board (#18792)
This commit is contained in:
parent
f949287aec
commit
6924b2deaa
@ -3044,5 +3044,12 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sanity check for WIFI
|
||||||
|
*/
|
||||||
|
#if ENABLED(ESP3D_WIFISUPPORT) && DISABLED(ARDUINO_ARCH_ESP32)
|
||||||
|
#error "ESP3D_WIFISUPPORT requires an ESP32 controller. Use WIFISUPPORT for standalone ESP3D modules."
|
||||||
|
#endif
|
||||||
|
|
||||||
// Misc. Cleanup
|
// Misc. Cleanup
|
||||||
#undef _TEST_PWM
|
#undef _TEST_PWM
|
||||||
|
Loading…
Reference in New Issue
Block a user