altos: Deal with cc1201 limitations
authorKeith Packard <keithp@keithp.com>
Mon, 20 Sep 2021 04:04:41 +0000 (21:04 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Sep 2021 04:04:41 +0000 (21:04 -0700)
commitc89268c1fa70fbdc661ac0963b9f8fe22c42bbfe
tree9ed585875242eda90c9788ea03ebf965cbc69b52
parent839024907e2777c07e4722e7bb0ab8993abf5638
altos: Deal with cc1201 limitations

The CC1201 works fine at higher data rates, but at lower rates it
can't crank the RX bandwidth as tight as the CC1200. Deal with this by
checking the part number and using the correct settings for each one
when running at 9600 or 2400 baud.

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