Skip to content

Commit

Permalink
fix appliesCh of preferred path in rfnm_source
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Jul 18, 2024
1 parent f1c7010 commit 123e34d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source_modules/rfnm_source/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class RFNMSourceModule : public ModuleManager::Instance {
// 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
Expand Down

0 comments on commit 123e34d

Please sign in to comment.