瀏覽代碼

Fix WiFi / ESP32 sanity check (#18808)

ellensp 4 年之前
父節點
當前提交
a63ad32f71
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/src/inc/SanityCheck.h

+ 2
- 2
Marlin/src/inc/SanityCheck.h 查看文件

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

Loading…
取消
儲存