Only send phy stats *after* sending config parameter reply to master
This commit is contained in:
parent
7f05a4fd9f
commit
36c90de9f8
@ -712,8 +712,8 @@ void serialCallback(uint8_t sbyte) {
|
||||
if (op_mode == MODE_HOST) selected_radio->setSignalBandwidth(bw);
|
||||
selected_radio->updateBitrate();
|
||||
sort_interfaces();
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
kiss_indicate_bandwidth(selected_radio);
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
}
|
||||
interface = 0;
|
||||
}
|
||||
@ -742,8 +742,8 @@ void serialCallback(uint8_t sbyte) {
|
||||
if (op_mode == MODE_HOST) selected_radio->setSpreadingFactor(sf);
|
||||
selected_radio->updateBitrate();
|
||||
sort_interfaces();
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
kiss_indicate_spreadingfactor(selected_radio);
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
}
|
||||
interface = 0;
|
||||
} else if (command == CMD_CR) {
|
||||
@ -758,8 +758,8 @@ void serialCallback(uint8_t sbyte) {
|
||||
if (op_mode == MODE_HOST) selected_radio->setCodingRate4(cr);
|
||||
selected_radio->updateBitrate();
|
||||
sort_interfaces();
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
kiss_indicate_codingrate(selected_radio);
|
||||
kiss_indicate_phy_stats(selected_radio);
|
||||
}
|
||||
interface = 0;
|
||||
} else if (command == CMD_IMPLICIT) {
|
||||
|
Loading…
Reference in New Issue
Block a user