mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 09:07:17 -04:00
Final corrections to make merged code compile, and reduce the adding and removing of other markers
This commit is contained in:
parent
778111d466
commit
daf63de55f
2 changed files with 2 additions and 1 deletions
|
@ -488,7 +488,7 @@ void ADSBRxView::updateDetailsAndMap(int ageStep) {
|
|||
details_view->update(entry);
|
||||
}
|
||||
// Store if the view is present and the list isn't full
|
||||
else if (otherMarkersCanBeSent && (markerStored != MARKER_LIST_FULL) && (entry.age_state==0))
|
||||
else if (otherMarkersCanBeSent && (markerStored != MARKER_LIST_FULL) && entry.pos.valid && (entry.age_state<=2))
|
||||
{
|
||||
marker.lon = entry.pos.longitude;
|
||||
marker.lat = entry.pos.latitude;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue