Compare commits

...

2 Commits

Author SHA1 Message Date
jacob.eva
afe5e5ba84
Merge remote-tracking branch 'upstream/master' 2024-08-24 15:13:29 +01:00
jacob.eva
55d0a41aa8
Remove redundant radio status updates 2024-08-24 15:12:50 +01:00

View File

@ -455,6 +455,7 @@ bool startRadio(RadioInterface* radio) {
void stopRadio(RadioInterface* radio) {
radio->end();
sort_interfaces();
kiss_indicate_radiostate(radio);
}
void update_radio_lock(RadioInterface* radio) {
@ -787,10 +788,8 @@ void serialCallback(uint8_t sbyte) {
kiss_indicate_radiostate(selected_radio);
} else if (sbyte == 0x00) {
stopRadio(selected_radio);
kiss_indicate_radiostate(selected_radio);
} else if (sbyte == 0x01) {
startRadio(selected_radio);
kiss_indicate_radiostate(selected_radio);
}
interface = 0;
} else if (command == CMD_ST_ALOCK) {