Setfreq usb command (#2235)

* SetFreq usb command for rx apps
* code format, better check
This commit is contained in:
Totoo 2024-09-04 20:26:31 +02:00 committed by GitHub
parent a2c4fefe34
commit 02b75f567a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 202 additions and 0 deletions

View file

@ -323,4 +323,9 @@ void LevelView::handle_coded_squelch(const uint32_t value) {
text_ctcss.set(" ");
}
void LevelView::on_freqchg(int64_t freq) {
receiver_model.set_target_frequency(freq);
button_frequency.set_text("<" + to_string_short_freq(freq) + " MHz>");
}
} /* namespace ui */