diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-01 23:21:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-01 23:21:16 -0700 |
commit | 8c1672560df866a70fe6fa69ce5ba65d835433dc (patch) | |
tree | 6da580773c8cb210eed6fab5003cb9b7506e9d06 /src/ao_ee.c | |
parent | dab3202a03107c89a0a38c52b1695cb008e41eae (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_ee.c')
-rw-r--r-- | src/ao_ee.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ao_ee.c b/src/ao_ee.c index a67ca12d..36c8a100 100644 --- a/src/ao_ee.c +++ b/src/ao_ee.c @@ -340,6 +340,5 @@ ao_ee_init(void) P1DIR |= (1 << EE_CS_INDEX); P1SEL &= ~(1 << EE_CS_INDEX); - ao_spi_init(); ao_cmd_register(&ao_ee_cmds[0]); } |