projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rolling average for pad location. Say 'GPS ready'.
[fw/altos]
/
src
/
ao_gps.c
diff --git
a/src/ao_gps.c
b/src/ao_gps.c
index b6d7182d8558a69f7b58a8559d914ed4f6937359..562899cd030c2a24405ea9b0ac00e34bad82747b 100644
(file)
--- a/
src/ao_gps.c
+++ b/
src/ao_gps.c
@@
-27,6
+27,11
@@
const char ao_gps_set_binary[] = {
'9', '6', '0', '0', ',', '8', ',', '1', ',', '0', '*',
'0', 'C', '\r','\n',
'9', '6', '0', '0', ',', '8', ',', '1', ',', '0', '*',
'0', 'C', '\r','\n',
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+
0xa0, 0xa2, 0x00, 0x09, /* length 9 bytes */
134, /* Set binary serial port */
0, 0, 0x25, 0x80, /* 9600 baud */
0xa0, 0xa2, 0x00, 0x09, /* length 9 bytes */
134, /* Set binary serial port */
0, 0, 0x25, 0x80, /* 9600 baud */