Skip to content

Commit

Permalink
APRS: add frequency settings for Brazil
Browse files Browse the repository at this point in the history
Include a new entry named 'BR' that tunes to 145.570 MHz.
  • Loading branch information
lucasvr committed Jan 26, 2025
1 parent c413f92 commit f680b94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion firmware/application/apps/ui_aprs_rx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ APRSRxView::APRSRxView(NavigationView& nav, Rect parent_rect)
field_frequency.set_value(145175000);
} else if (i == 4) { // NZ
field_frequency.set_value(144575000);
} else if (i == 5) { // ISS
} else if (i == 5) { // BR
field_frequency.set_value(145570000);
} else if (i == 6) { // ISS
field_frequency.set_value(145825000);
}
options_region_id = i;
Expand Down
3 changes: 2 additions & 1 deletion firmware/application/apps/ui_aprs_rx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ class APRSRxView : public View {
{"EUR", 2},
{"AUS", 3},
{"NZ ", 4},
{"ISS", 5}}};
{"BR ", 5},
{"ISS", 6}}};

FrequencyField field_frequency{
{3 * 8, 0 * 16}};
Expand Down

0 comments on commit f680b94

Please sign in to comment.