diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-24 23:52:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-25 00:07:14 -0700 |
commit | 097c931c979d3652ef8e279ba66bb7ce758f37a3 (patch) | |
tree | 0f857a9e07f6cc59b3252dc9d7e665891bbdfeb3 /src/core/ao_packet.h | |
parent | 978c16105dd334a4a2807140dbbcc7f306a6b581 (diff) |
altos: When slave mode first starts, accept any packet
This eliminates the packet sequence matching for the first packet,
allowing outstanding send data to arrive from the master instead of
ignoring packets with data until they match the seqno
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_packet.h')
-rw-r--r-- | src/core/ao_packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ao_packet.h b/src/core/ao_packet.h index f232a878..9058c347 100644 --- a/src/core/ao_packet.h +++ b/src/core/ao_packet.h @@ -48,6 +48,7 @@ extern __xdata struct ao_task ao_packet_task; extern __xdata uint8_t ao_packet_enable; extern __xdata uint8_t ao_packet_master_sleeping; extern __pdata uint8_t ao_packet_rx_len, ao_packet_rx_used, ao_packet_tx_used; +extern __xdata uint8_t ao_packet_restart; void ao_packet_send(void); |