Skip to content

Commit 2515924

Browse files
committed
Minor improvements
1 parent 6dc667b commit 2515924

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/loraprs_service.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,9 @@ void Service::onRadioControlCommand(const std::vector<byte> &rawCommand) {
735735
LOG_INFO("Setting new radio parameters");
736736
const struct SetHardware * setHardware = reinterpret_cast<const struct SetHardware*>(rawCommand.data());
737737

738+
// TODO, add support for split set hardware
738739
config_.LoraFreqRx = be32toh(setHardware->freq);
740+
config_.LoraFreqTx = be32toh(setHardware->freq);
739741
config_.LoraBw = be32toh(setHardware->bw);
740742
config_.LoraSf = be16toh(setHardware->sf);
741743
config_.LoraCodingRate = be16toh(setHardware->cr);

0 commit comments

Comments
 (0)