altos: Clean up radio CRC handling
authorKeith Packard <keithp@keithp.com>
Thu, 28 Jun 2012 00:17:44 +0000 (17:17 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Jun 2012 00:17:44 +0000 (17:17 -0700)
commit84f9a525c64491afa9b7a565e3c10a4cee106e14
tree33f5fc926fbe26f9f90f7475d1bb1d590d9edf07
parentb0b7f5da2d29716959c6793d744e47a3d435c247
altos: Clean up radio CRC handling

Make the FEC code just set the CRC_OK bit like the cc1111 radio does;
eliminates a bunch of weird conventions across the FEC API.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao.h
src/core/ao_fec.h
src/core/ao_fec_rx.c
src/drivers/ao_cc1120.c
src/drivers/ao_packet.c
src/test/ao_fec_test.c