Skip to content

Commit

Permalink
Merge branch 'master' into 494-rework-repeater-database-sources
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatuschek committed Nov 22, 2024
2 parents 35f1453 + daf099b commit 3b89346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/radioddity_codeplug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ RadioddityCodeplug::ChannelElement::setRXFrequency(uint32_t freq) {
}
uint32_t
RadioddityCodeplug::ChannelElement::txFrequency() const {
return getBCD8_le(Offset::rxFrequency())*10;
return getBCD8_le(Offset::txFrequency())*10;
}
void
RadioddityCodeplug::ChannelElement::setTXFrequency(uint32_t freq) {
setBCD8_le(Offset::rxFrequency(), freq/10);
setBCD8_le(Offset::txFrequency(), freq/10);
}

RadioddityCodeplug::ChannelElement::Mode
Expand Down

0 comments on commit 3b89346

Please sign in to comment.