projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Hook APRS up to the radio
[fw/altos]
/
src
/
test
/
ao_aprs_test.c
diff --git
a/src/test/ao_aprs_test.c
b/src/test/ao_aprs_test.c
index d0cfb52d955ca2119fc9c6233985f6937daaaf19..f16c94e8d696b93b53f0ca21732781b979826c4a 100644
(file)
--- a/
src/test/ao_aprs_test.c
+++ b/
src/test/ao_aprs_test.c
@@
-23,6
+23,8
@@
#include <ao_telemetry.h>
#include <ao_telemetry.h>
+struct ao_telemetry_location ao_gps_data;
+
#define AO_APRS_TEST
typedef int16_t (*ao_radio_fill_func)(uint8_t *buffer, int16_t len);
#define AO_APRS_TEST
typedef int16_t (*ao_radio_fill_func)(uint8_t *buffer, int16_t len);
@@
-91,6
+93,10
@@
int main(int argc, char **argv)
{
audio_gap(1);
{
audio_gap(1);
+ ao_gps_data.latitude = 45.4694766 * 10000000;
+ ao_gps_data.longitude = -122.7376250 * 10000000;
+ ao_gps_data.altitude = 83;
+
/* Transmit one packet */
ao_aprs_send();
/* Transmit one packet */
ao_aprs_send();