mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-22 13:11:44 +00:00
changed to set the preamble on radio settings change
This commit is contained in:
1 parent
3843c00f54
commit
f0ec5d2ae7
66 files changed
+65
-10
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user