diff options
author | Keith Packard <keithp@keithp.com> | 2012-08-24 00:46:55 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-24 00:46:55 -0700 |
commit | 7ecb429fe4682faf209452b1738ff3c8096fc5d5 (patch) | |
tree | 013cbe394ac6ad41665ce3d54e84d6d13c6a2bc2 /src/telefire-v0.1/ao_telefire.c | |
parent | 310c1d0bf83448eb12e5d64ac09a4279c25fd258 (diff) |
altos: Configure telefire SPI and LEDs correctly
This places the telefire SPI bus on USART1 option 2 and
marks the various LED functions with symbolic names.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telefire-v0.1/ao_telefire.c')
-rw-r--r-- | src/telefire-v0.1/ao_telefire.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/telefire-v0.1/ao_telefire.c b/src/telefire-v0.1/ao_telefire.c index 96413a63..c1335d66 100644 --- a/src/telefire-v0.1/ao_telefire.c +++ b/src/telefire-v0.1/ao_telefire.c @@ -15,8 +15,9 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "ao.h" -#include "ao_pins.h" +#include <ao.h> +#include <ao_pad.h> +#include <ao_74hc497.h> void main(void) @@ -30,11 +31,11 @@ main(void) ao_beep_init(); ao_cmd_init(); ao_spi_init(); + ao_74hc497_init(); ao_storage_init(); ao_usb_init(); ao_radio_init(); - ao_aes_init(); - ao_radio_cmac_init(); +// ao_aes_init(); ao_pad_init(); ao_config_init(); ao_start_scheduler(); |