changed to set the preamble on radio settings change

Этот коммит содержится в:
overkillfpv
2026-03-29 21:45:16 +11:00
родитель 3843c00f54
Коммит f0ec5d2ae7
66 изменённых файлов: 65 добавлений и 10 удалений
+1
Просмотреть файл
@@ -87,6 +87,7 @@ void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr) {
radio.setSpreadingFactor(sf);
radio.setBandwidth(bw);
radio.setCodingRate(cr);
radio_driver.updatePreamble(sf);
}
void radio_set_tx_power(int8_t dbm) {