projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trim aoview_serial_set_callback args down to just port and callback
[fw/altos]
/
aoview
/
aoview.h
diff --git
a/aoview/aoview.h
b/aoview/aoview.h
index b4d1315968ba248284f57678501dd639c223bed8..4ed0ffaba51804005c83fd05a42ba7419c06f137 100644
(file)
--- a/
aoview/aoview.h
+++ b/
aoview/aoview.h
@@
-69,7
+69,8
@@
struct aodata {
int flight_pres;
int ground_pres;
int nsat;
int flight_pres;
int ground_pres;
int nsat;
- int locked;
+ int gps_locked;
+ int gps_connected;
struct {
int hour;
int minute;
struct {
int hour;
int minute;
@@
-159,9
+160,7
@@
typedef void (*aoview_serial_callback)(gpointer user_data, struct aoview_serial
void
aoview_serial_set_callback(struct aoview_serial *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, ...);
void
aoview_serial_printf(struct aoview_serial *serial, char *format, ...);