Print message if radio control command of wrong size is received

pull/15/head
sh123 2021-02-14 09:22:05 +02:00
rodzic 14271cefbb
commit a876d65909
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -422,6 +422,8 @@ void Service::onRadioControlCommand(const std::vector<byte> &rawCommand) {
setupLora(config_.LoraFreq, config_.LoraBw, config_.LoraSf,
config_.LoraCodingRate, config_.LoraPower, config_.LoraSync, config_.LoraEnableCrc);
} else {
Serial.println("Radio control command of wrong size");
}
}