mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-14 04:07:12 +01:00
fix appliesCh of preferred path in rfnm_source
This commit is contained in:
parent
f1c7010437
commit
123e34d250
@ -188,6 +188,7 @@ private:
|
|||||||
// Set this channel as the channel of its prefered path (cursed af but lazy)
|
// Set this channel as the channel of its prefered path (cursed af but lazy)
|
||||||
const PathConfig& pc = paths.value(paths.valueId(preferred_pc));
|
const PathConfig& pc = paths.value(paths.valueId(preferred_pc));
|
||||||
((PathConfig*)&pc)->chId = offset + i;
|
((PathConfig*)&pc)->chId = offset + i;
|
||||||
|
((PathConfig*)&pc)->appliesCh = (uint16_t)(1 << (offset + i + 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump antenna paths
|
// Dump antenna paths
|
||||||
|
Loading…
Reference in New Issue
Block a user