mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-05-16 20:35:09 +00:00
v1.4.0: LVGL UI, async radio TX, live TCP management, input fixes
- Migrate all screens to LVGL v8.4 widget system - Non-blocking radio TX (async endPacket via LoRaInterface) - Live TCP server switching with transient node cleanup - Fix UI freeze during radio transmit - Trackball long-press delete, deferred click with debounce - Pin microReticulum to 392363c, fix list_directory API - Fix CI build: portable include path, remove hardcoded local path
This commit is contained in:
@@ -42,8 +42,9 @@ void TCPClientInterface::tryConnect() {
|
||||
void TCPClientInterface::loop() {
|
||||
if (!_online) return;
|
||||
|
||||
// Auto-reconnect
|
||||
// Auto-reconnect (only if WiFi is connected)
|
||||
if (!_client.connected()) {
|
||||
if (WiFi.status() != WL_CONNECTED) return;
|
||||
if (millis() - _lastAttempt >= TCP_RECONNECT_INTERVAL_MS) {
|
||||
tryConnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user