File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 - name : Start QEMU with WLED firmware in background
117117 run : |
118118 chmod +x .github/scripts/run-qemu.sh
119- bash .github/scripts/run-qemu.sh .pio/build/esp32_16MB_QEMU_debug qemu-esp32 8080 2>&1 | tee qemu-output.log &
119+ bash .github/scripts/run-qemu.sh .pio/build/esp32_16MB_QEMU_debug qemu-esp32 8080 > qemu-output.log 2>&1 &
120120 echo "Waiting for QEMU to start and WLED to boot..."
121121 sleep 45
122122
@@ -142,7 +142,7 @@ jobs:
142142 # Check for network/DHCP initialization in logs
143143 echo ""
144144 echo "=== Verifying Network Initialization ==="
145- sleep 20 # Give a bit more time for network logs
145+ sleep 10 # Give a bit more time for network logs
146146
147147 if grep -i "ETH Started\|ETH Connected\|eth: link up" qemu-output.log > /dev/null 2>&1; then
148148 echo "✓ Ethernet initialization detected in logs"
Original file line number Diff line number Diff line change @@ -372,13 +372,15 @@ void WLED::loop()
372372 // DEBUG_PRINTLN(F("No PSRAM"));
373373 }
374374 #endif
375+ #ifndef WLED_QEMU
375376 DEBUG_PRINT (F (" Wifi state: " )); DEBUG_PRINTLN (WiFi.status ());
376377
377378 if (WiFi.status () != lastWifiState) {
378379 wifiStateChangedTime = millis ();
379380 }
380381 lastWifiState = WiFi.status ();
381382 DEBUG_PRINT (F (" State time: " )); DEBUG_PRINTLN (wifiStateChangedTime);
383+ #endif
382384 DEBUG_PRINT (F (" NTP last sync: " )); DEBUG_PRINTLN (ntpLastSyncTime);
383385 DEBUG_PRINT (F (" Client IP: " )); DEBUG_PRINTLN (Network.localIP ());
384386 if (loops > 0 ) { // avoid division by zero
@@ -1466,7 +1468,9 @@ void WLED::handleConnection()
14661468 // shut down AP
14671469 if (apBehavior != AP_BEHAVIOR_ALWAYS && apActive) {
14681470 dnsServer.stop ();
1471+ #ifndef WLED_QEMU
14691472 WiFi.softAPdisconnect (true );
1473+ #endif
14701474 apActive = false ;
14711475 USER_PRINTLN (F (" Access point disabled (handle)." ));
14721476 }
You can’t perform that action at this time.
0 commit comments