projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/easymotor-v2: Increase default flight log size
[fw/altos]
/
src
/
kernel
/
ao_send_packet.c
diff --git
a/src/kernel/ao_send_packet.c
b/src/kernel/ao_send_packet.c
index 3206b2d6d1cd4f2ad4f0fb8fa0c6a161cb454d66..ee4685998215a7899f123caf2780abc88ebdc00a 100644
(file)
--- a/
src/kernel/ao_send_packet.c
+++ b/
src/kernel/ao_send_packet.c
@@
-17,6
+17,7
@@
*/
#include "ao.h"
+#include "ao_send_packet.h"
#define AO_MAX_SEND 128
@@
-29,8
+30,7
@@
ao_send_packet(void)
uint8_t b;
uint8_t i;
- ao_cmd_hex();
- count = ao_cmd_lex_i;
+ count = ao_cmd_hex();
if (ao_cmd_status != ao_cmd_success)
return;
if (count > AO_MAX_SEND - 2) {