changed to set the preamble on radio settings change

This commit is contained in:
overkillfpv
2026-03-29 21:45:16 +11:00
parent 3843c00f54
commit f0ec5d2ae7
66 changed files with 65 additions and 10 deletions

View File

@@ -41,6 +41,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) {