fix appliesCh of preferred path in rfnm_source

better_install
AlexandreRouma 2024-07-18 16:53:02 +02:00
rodzic f1c7010437
commit 123e34d250
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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