mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-06 08:45:01 -04:00
Add APRS Receiving App
This commit is contained in:
parent
de92faf67b
commit
f15cf78101
18 changed files with 1722 additions and 16 deletions
|
@ -264,8 +264,13 @@ void GeoMapView::focus() {
|
|||
void GeoMapView::update_position(float lat, float lon, uint16_t angle) {
|
||||
lat_ = lat;
|
||||
lon_ = lon;
|
||||
|
||||
// Stupid hack to avoid an event loop
|
||||
geopos.set_report_change(false);
|
||||
geopos.set_lat(lat_);
|
||||
geopos.set_lon(lon_);
|
||||
geopos.set_report_change(true);
|
||||
|
||||
geomap.set_angle(angle);
|
||||
geomap.move(lon_, lat_);
|
||||
geomap.set_dirty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue