summaryrefslogtreecommitdiff
path: root/src/ao_gps_print.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-04 23:39:21 -0700
committerKeith Packard <keithp@keithp.com>2011-07-04 23:39:21 -0700
commitef3ce687d73c1274ce5368432f4d449b063ce5c0 (patch)
tree5b5688d72cc3256bd75dd0db813aa4b8dee87bef /src/ao_gps_print.c
parent359681f23e2f71bc8f4975a4a76ae28c08ecab2e (diff)
altos: Complete new telemetry switchover
This involved rewriting the GPS code to use the telemetry structures directly so that a memcpy could be used to transfer the data to the telemetry packets, saving a bunch of code space, along with fixing up the gps testing programs to deal with the structure changes. In addition, the teledongle code needed to have the monitoring code split into separate radio receiver and USB writer threads as the packets are now back-to-back, and hence come too fast to wait for the USB data to be sent to the host after each one. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_print.c')
-rw-r--r--src/ao_gps_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_gps_print.c b/src/ao_gps_print.c
index ca071b42..fcdedd30 100644
--- a/src/ao_gps_print.c
+++ b/src/ao_gps_print.c
@@ -21,7 +21,7 @@
#include "ao_telem.h"
void
-ao_gps_print(__xdata struct ao_gps_data *gps_data) __reentrant
+ao_gps_print(__xdata struct ao_gps_orig *gps_data) __reentrant
{
char state;
@@ -77,10 +77,10 @@ ao_gps_print(__xdata struct ao_gps_data *gps_data) __reentrant
}
void
-ao_gps_tracking_print(__xdata struct ao_gps_tracking_data *gps_tracking_data) __reentrant
+ao_gps_tracking_print(__xdata struct ao_gps_tracking_orig *gps_tracking_data) __reentrant
{
uint8_t c, n, v;
- __xdata struct ao_gps_sat_data *sat;
+ __xdata struct ao_gps_sat_orig *sat;
n = gps_tracking_data->channels;
if (n == 0)