summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-08-07 00:40:59 -0400
committerKeith Packard <keithp@keithp.com>2010-08-07 00:40:59 -0400
commit4738cb2fc639adb1d9237e6c903479f0690dd81a (patch)
tree5664b86fe4c3a8d94bf426b6f5cdd8e8d3fa429a /src/ao.h
parentb7699a5907e64bc7547fcc27e73f4a35bbaabfff (diff)
altos: add callsign to packet mode, increase payload to 64 bytes
Untested, but it 'should' work. Need to add callsign setting to packet mode users. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ao.h b/src/ao.h
index 5dd756da..5f2b8339 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1034,7 +1034,7 @@ struct ao_fifo {
* Packet-based command interface
*/
-#define AO_PACKET_MAX 8
+#define AO_PACKET_MAX 64
#define AO_PACKET_SYN (uint8_t) 0xff
struct ao_packet {
@@ -1043,6 +1043,7 @@ struct ao_packet {
uint8_t seq;
uint8_t ack;
uint8_t d[AO_PACKET_MAX];
+ uint8_t callsign[AO_MAX_CALLSIGN];
};
struct ao_packet_recv {