changed to set the preamble on radio settings change

Tento commit je obsažen v:
overkillfpv
2026-03-29 21:45:16 +11:00
rodič 3843c00f54
revize f0ec5d2ae7
66 změnil soubory, kde provedl 65 přidání a 10 odebrání
+1
Zobrazit soubor
@@ -51,6 +51,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) {