From ef5012b9d4c0c69967926ec6120ecc2f9a3e25b9 Mon Sep 17 00:00:00 2001 From: portersky <24420859+portersky@users.noreply.github.com> Date: Sun, 14 Jun 2026 23:25:47 +0200 Subject: [PATCH] fix: probe 400000 baud first and relax FC stale threshold CP210x chips can't hit 921600 exactly so try 400000/420000 first. Raise FC_STALE_S from 2s to 5s so the dashboard doesn't flicker STALE when FC telemetry arrives slowly. --- tools/telemetry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/telemetry.c b/tools/telemetry.c index a5cd634..af1bd48 100644 --- a/tools/telemetry.c +++ b/tools/telemetry.c @@ -17,7 +17,7 @@ #endif /* Probe bauds: CP210x chips on ELRS can't hit 921600 exactly. */ -static int const s_probe_bauds[] = {921600, 400000, 420000}; +static int const s_probe_bauds[] = {400000, 420000, 921600}; static int const s_probe_bauds_count = (int)(sizeof(s_probe_bauds) / sizeof(s_probe_bauds[0])); @@ -79,7 +79,7 @@ static void ansi_cursor_up(int n) { /* --------------------------------------------------------------------------- */ #define LINK_STALE_S 3.0f -#define FC_STALE_S 2.0f +#define FC_STALE_S 5.0f typedef enum { STATUS_LIVE,