summaryrefslogtreecommitdiff
path: root/src/ao_flash.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-01 23:21:16 -0700
committerKeith Packard <keithp@keithp.com>2010-11-01 23:21:16 -0700
commit8c1672560df866a70fe6fa69ce5ba65d835433dc (patch)
tree6da580773c8cb210eed6fab5003cb9b7506e9d06 /src/ao_flash.c
parentdab3202a03107c89a0a38c52b1695cb008e41eae (diff)
altos: Fix remaining SPI users to initialize SPI in main
Any product using SPI must initialize the SPI bus along with the SPI-based drivers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_flash.c')
-rw-r--r--src/ao_flash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ao_flash.c b/src/ao_flash.c
index c3f45ee3..4f3618ee 100644
--- a/src/ao_flash.c
+++ b/src/ao_flash.c
@@ -455,7 +455,5 @@ ao_ee_init(void)
FLASH_CS = 1;
P1DIR |= (1 << FLASH_CS_INDEX);
P1SEL &= ~(1 << FLASH_CS_INDEX);
-
- ao_spi_init();
ao_cmd_register(&ao_flash_cmds[0]);
}