Преглед изворни кода

Update for Raspberry Pi Pico W

jblanked пре 1 година
родитељ
комит
4c6195e343
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      app.c

+ 5 - 5
app.c

@@ -21,16 +21,16 @@ int32_t web_crawler_app(void *p)
         return -1;
     }
 
-    // send settings and connect wifi
-    if (!flipper_http_connect_wifi())
+    if (!flipper_http_ping())
     {
-        FURI_LOG_E(TAG, "Failed to connect to WiFi");
+        FURI_LOG_E(TAG, "Failed to ping the device");
         return -1;
     }
 
-    if (!flipper_http_ping())
+    // send settings and connect wifi
+    if (!flipper_http_connect_wifi())
     {
-        FURI_LOG_E(TAG, "Failed to ping the device");
+        FURI_LOG_E(TAG, "Failed to connect to WiFi");
         return -1;
     }