This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | APPROACH_SECTION __attribute__ ((section ("nav"))) |
Functions | |
Boolean | ApproachFormHandleEvent (EventPtr event) APPROACH_SECTION |
Approach Form event handler. |
|
Definition at line 30 of file ApproachForm.h. |
|
Approach Form event handler. The Approach Form shows the Active Waypoint's ID and the current distance to the waypoint. If the GPS data is valid, the distance display is updated periodically. If enabled in the application preferences, an alarm sound is generated periodically.
Definition at line 100 of file ApproachForm.c. References PrefsType::act_wpt, PrefsType::approach_sound, ApproachDstField, ApproachOKButton, ApproachWptField, calcR(), DoReceiveFlush(), PrefsType::form, format_number(), gc_dist_sphere(), gGPSData, gPortID, gPrefs, gWaypointDB, D104_Wpt_Type::ident, GPSType::lat, Semicircle_Type::lat, GPSType::lon, Semicircle_Type::lon, D104_Wpt_Type::posn, ReadFromGPS(), semi2deg(), SetFieldText(), UnpackWaypoint(), GPSType::valid, and ActWayptType::waypointID. |