From 097c931c979d3652ef8e279ba66bb7ce758f37a3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 24 Oct 2012 23:52:49 -0700 Subject: 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 --- src/core/ao_packet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') 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); -- cgit v1.2.3