diff --git a/Meshtastic/Views/Settings/Firmware/ESP32 OTA/WiFi/ESP32WifiOTAViewModel.swift b/Meshtastic/Views/Settings/Firmware/ESP32 OTA/WiFi/ESP32WifiOTAViewModel.swift index e819439d..6564d31e 100644 --- a/Meshtastic/Views/Settings/Firmware/ESP32 OTA/WiFi/ESP32WifiOTAViewModel.swift +++ b/Meshtastic/Views/Settings/Firmware/ESP32 OTA/WiFi/ESP32WifiOTAViewModel.swift @@ -96,6 +96,7 @@ class ESP32WifiOTAViewModel: ObservableObject { // 3. Send Command try await connection.sendAsync(data: command.data(using: .utf8)!) + self.otaState = .preparing // 4. Handshake (Wait for "OK" or "ERASING") var handshakeComplete = false