diff options
| author | Keith Packard <keithp@keithp.com> | 2013-05-18 03:52:59 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-18 03:52:59 -0700 | 
| commit | 278300b2bc98b92cc71ec016ab0fc93eb3696435 (patch) | |
| tree | d0734e3ac5cab52fb77a7c66f195f35dcd28873f /src | |
| parent | cbe5eee76faf386eefe69539935ab318944ac452 (diff) | |
altos: Initialize SPI for easymini
Doesn't work very well without this
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/easymini-v0.1/ao_easymini.c | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/src/easymini-v0.1/ao_easymini.c b/src/easymini-v0.1/ao_easymini.c index 1cdefdd6..ce70398e 100644 --- a/src/easymini-v0.1/ao_easymini.c +++ b/src/easymini-v0.1/ao_easymini.c @@ -26,16 +26,19 @@ main(void)  	ao_timer_init();  	ao_exti_init(); +	ao_spi_init(); +	ao_storage_init(); + +	ao_usb_init(); +  	ao_cmd_init();  #if 0 -	ao_storage_init();  	ao_flight_init();  	ao_ms5607_init();  	ao_log_init();  	ao_report_init();  	ao_igniter_init();  #endif -	ao_usb_init();  	ao_config_init();  	ao_start_scheduler();  } | 
