altos: Make SD card driver compile without radio support
authorKeith Packard <keithp@keithp.com>
Fri, 26 Apr 2013 04:25:39 +0000 (21:25 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 26 Apr 2013 04:25:39 +0000 (21:25 -0700)
commit4ed83e34d1163c7fae0a205528c60dc83973082a
tree0f018a2f04012daefcfbb048693ecfb14dce3e8d
parent90b0db1ae53182c94bf12d661446fc369d916366
altos: Make SD card driver compile without radio support

The SD card driver blocks the radio when trying to access the card as
that operation appears very sensitive to RFI. This fix makes the
driver work when there *isn't* a radio driver in the same device.

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