altos: Add timeout to RN4678 status message code
authorKeith Packard <keithp@keithp.com>
Tue, 13 Jun 2017 17:34:03 +0000 (10:34 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Jun 2017 17:34:03 +0000 (10:34 -0700)
commitcd8b22bef0a88ed6881036b4c6718a4e33c55d41
tree9ba7c66563f878eccefe995aac78c5995f42c460
parent172d6cec981b50d4d5ff0f3d3bbd4377d55f57c8
altos: Add timeout to RN4678 status message code

If we see the start of an RN4678 status message, but then output
pauses, assume that this isn't the start of a status message and flush
the pending data.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_rn4678.c
src/drivers/ao_rn4678.h