From 02c057c562007ac05ccaa1d624fcf705a2b403a6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 12 Sep 2025 17:22:45 +0300 Subject: [PATCH] Fix multi-band settings application --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index e85dcee..622da6e 100644 --- a/main.c +++ b/main.c @@ -1619,8 +1619,10 @@ void update_bands(void) _f_band_index[idx] = b; setting.bands[b].stop_index = idx; idx++; - if (idx >= sweep_points) - return; + if (idx >= sweep_points) { + b = BANDS_MAX; // exit both loops + break; + } } else { b++;