kopia lustrzana https://github.com/sh123/esp32_loraprs
Print message if radio control command of wrong size is received
rodzic
14271cefbb
commit
a876d65909
|
@ -422,6 +422,8 @@ void Service::onRadioControlCommand(const std::vector<byte> &rawCommand) {
|
||||||
|
|
||||||
setupLora(config_.LoraFreq, config_.LoraBw, config_.LoraSf,
|
setupLora(config_.LoraFreq, config_.LoraBw, config_.LoraSf,
|
||||||
config_.LoraCodingRate, config_.LoraPower, config_.LoraSync, config_.LoraEnableCrc);
|
config_.LoraCodingRate, config_.LoraPower, config_.LoraSync, config_.LoraEnableCrc);
|
||||||
|
} else {
|
||||||
|
Serial.println("Radio control command of wrong size");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue