altos/cc1200: Adjust bit-sync configuration
authorKeith Packard <keithp@keithp.com>
Sun, 15 Feb 2015 07:18:38 +0000 (23:18 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 15 Feb 2015 07:18:38 +0000 (23:18 -0800)
commit135abf0e7c5ceb5738a0b5f68fe2be4b7abdae5e
treecd5b8e2be9c9838de42cd86576ceb76758f6abbb
parent9c75faf1ec51eb2f9a8dc9402653490143a784d9
altos/cc1200: Adjust bit-sync configuration

The default bit timing adjustment mechanism allows for only a 0.2%
deviation from the programmed bit timing. I found one TeleMini device
which is beyond that tolerance as it was built with an older crystal
with more error.

Switch to the more expensive synchronization mechanism which allows up
to 2% timing error, but requires a multi-byte preamble (which we
have). This fixes packet mode nicely.

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