diff options
| author | Bdale Garbee <bdale@gag.com> | 2014-09-09 23:28:39 -0600 | 
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2014-09-09 23:28:39 -0600 | 
| commit | 16405fd3eb6f82ef3a709e3ed30fc48faef7b547 (patch) | |
| tree | c111819b3ba0c9357af41c81b798326b9df7adad /src/test/ao_gps_test.c | |
| parent | 5a2f6ed6210844f7284fbf9f7ecba68c8a14fa52 (diff) | |
| parent | 28bd5057252e61bc5b1a35a00bc1f9fdfde097f7 (diff) | |
Merge branch 'branch-1.5' into debian
Conflicts:
	ChangeLog
	Releasing
	altosui/Instdrv/NSIS/Includes/java.nsh
	altosui/altos-windows.nsi.in
	configure.ac
	doc/Makefile
	doc/altusmetrum.xsl
	micropeak/micropeak-windows.nsi.in
	telegps/telegps-windows.nsi.in
Diffstat (limited to 'src/test/ao_gps_test.c')
| -rw-r--r-- | src/test/ao_gps_test.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/test/ao_gps_test.c b/src/test/ao_gps_test.c index e799ab0f..543bbcc3 100644 --- a/src/test/ao_gps_test.c +++ b/src/test/ao_gps_test.c @@ -53,6 +53,9 @@ struct ao_gps_orig {  	uint16_t		v_error;	/* m */  }; +#define AO_TELEMETRY_LOCATION_ALTITUDE(l) 	((l)->altitude) +#define AO_TELEMETRY_LOCATION_SET_ALTITUDE(l,a) ((l)->altitude = (a)) +  #define SIRF_SAT_STATE_ACQUIRED			(1 << 0)  #define SIRF_SAT_STATE_CARRIER_PHASE_VALID	(1 << 1)  #define SIRF_SAT_BIT_SYNC_COMPLETE		(1 << 2) @@ -433,7 +436,7 @@ ao_dump_state(void *wchan)  	if (wchan != &ao_gps_new)  		return; -	 +  	if (ao_gps_new & AO_GPS_NEW_DATA) {  		ao_gps_print(&ao_gps_data);  		putchar('\n'); | 
