Indeterminate state inidicator for WiFi OTA erase

This commit is contained in:
Jake-B 2026-01-06 07:01:29 -05:00
parent fc45e41e38
commit c42df05ea4

View file

@ -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