Skip to content

Commit 123e34d

Browse files
fix appliesCh of preferred path in rfnm_source
1 parent f1c7010 commit 123e34d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source_modules/rfnm_source/src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class RFNMSourceModule : public ModuleManager::Instance {
188188
// Set this channel as the channel of its prefered path (cursed af but lazy)
189189
const PathConfig& pc = paths.value(paths.valueId(preferred_pc));
190190
((PathConfig*)&pc)->chId = offset + i;
191+
((PathConfig*)&pc)->appliesCh = (uint16_t)(1 << (offset + i + 8));
191192
}
192193

193194
// Dump antenna paths

0 commit comments

Comments
 (0)