X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview.h;h=4ed0ffaba51804005c83fd05a42ba7419c06f137;hp=803bd4a538f186a37ac60ce71c3d356bc72d4d21;hb=1e5e98bd8f5ea0bc15592de454e3629383462371;hpb=bfe1e76c82738baaf65abbc58c3244a07ea8fefe diff --git a/aoview/aoview.h b/aoview/aoview.h index 803bd4a5..4ed0ffab 100644 --- a/aoview/aoview.h +++ b/aoview/aoview.h @@ -69,7 +69,8 @@ struct aodata { int flight_pres; int ground_pres; int nsat; - int locked; + int gps_locked; + int gps_connected; struct { int hour; int minute; @@ -122,6 +123,7 @@ struct aostate { double pad_lon_total; double pad_alt_total; int npad; + int prev_npad; double distance; double bearing; @@ -158,9 +160,7 @@ typedef void (*aoview_serial_callback)(gpointer user_data, struct aoview_serial void aoview_serial_set_callback(struct aoview_serial *serial, - aoview_serial_callback func, - gpointer data, - GDestroyNotify notify); + aoview_serial_callback func); void aoview_serial_printf(struct aoview_serial *serial, char *format, ...);