kopia lustrzana https://github.com/sh123/esp32_loraprs
Additional logging
rodzic
36a621766d
commit
90a342e8c4
|
@ -805,6 +805,7 @@ void Service::onControlCommand(Cmd cmd, byte value)
|
|||
void Service::onRadioControlCommand(const std::vector<byte> &rawCommand) {
|
||||
|
||||
if (config_.KissEnableExtensions && rawCommand.size() == sizeof(SetHardware)) {
|
||||
LOG_INFO("Setting new radio parameters");
|
||||
const struct SetHardware * setHardware = reinterpret_cast<const struct SetHardware*>(rawCommand.data());
|
||||
|
||||
config_.LoraFreq = be32toh(setHardware->freq);
|
||||
|
|
Ładowanie…
Reference in New Issue