From 123e34d2508cd90bb1e911250d31ca793a19a2b3 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 18 Jul 2024 16:53:02 +0200 Subject: [PATCH] fix appliesCh of preferred path in rfnm_source --- source_modules/rfnm_source/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source_modules/rfnm_source/src/main.cpp b/source_modules/rfnm_source/src/main.cpp index c522a8cc..c5244129 100644 --- a/source_modules/rfnm_source/src/main.cpp +++ b/source_modules/rfnm_source/src/main.cpp @@ -188,6 +188,7 @@ private: // Set this channel as the channel of its prefered path (cursed af but lazy) const PathConfig& pc = paths.value(paths.valueId(preferred_pc)); ((PathConfig*)&pc)->chId = offset + i; + ((PathConfig*)&pc)->appliesCh = (uint16_t)(1 << (offset + i + 8)); } // Dump antenna paths