mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 12:12:16 -04:00
Microphone tx is mostly working, Voice activation, PTT, CTCSS...
Transmit bandwidth bugfix TX LED is now only lit when using rf amp VU-meter widget Added gain parameter for baseband audio TX
This commit is contained in:
parent
71999f216f
commit
69b0ef9a40
32 changed files with 523 additions and 194 deletions
|
@ -189,11 +189,11 @@ bool MenuView::set_highlighted(int32_t new_value) {
|
|||
if (new_value >= item_count)
|
||||
new_value = item_count - 1;
|
||||
|
||||
if ((new_value > offset_) && ((new_value - offset_) >= displayed_max_)) {
|
||||
if (((uint32_t)new_value > offset_) && ((new_value - offset_) >= displayed_max_)) {
|
||||
// Shift MenuView up
|
||||
offset_ = new_value - displayed_max_ + 1;
|
||||
update_items();
|
||||
} else if (new_value < offset_) {
|
||||
} else if ((uint32_t)new_value < offset_) {
|
||||
// Shift MenuView down
|
||||
offset_ = new_value;
|
||||
update_items();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue