From c0bc5c9de3f7f66b08708fca33680f387d899eb7 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Mon, 12 Jan 2026 14:11:42 +1300 Subject: [PATCH] Check correct channel avoiding multiple changes --- src/core/elrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/elrs.c b/src/core/elrs.c index ab4bda54..4aab75e9 100644 --- a/src/core/elrs.c +++ b/src/core/elrs.c @@ -134,7 +134,7 @@ static void change_channel_analog(uint8_t const channel) { LOGE("Invalid analog channel %d", channel); return; } - if (g_setting.scan.channel != channel || g_app_state != APP_STATE_VIDEO) { + if (g_setting.source.analog_channel != channel || g_app_state != APP_STATE_VIDEO) { g_setting.source.analog_channel = channel; beep(); pthread_mutex_lock(&lvgl_mutex);