X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview.h;h=4ed0ffaba51804005c83fd05a42ba7419c06f137;hp=ac64833fb3e301d9ab1f27ec461da39166b207ca;hb=1e5e98bd8f5ea0bc15592de454e3629383462371;hpb=80cadf44f5f1accd6ddfca25c2af8d4d424f26d9 diff --git a/aoview/aoview.h b/aoview/aoview.h index ac64833f..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, ...); @@ -226,7 +226,7 @@ void aoview_table_start(void); void -aoview_table_add_row(char *label, char *format, ...); +aoview_table_add_row(int column, char *label, char *format, ...); void aoview_table_finish(void);