diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-01 23:18:18 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-01 23:18:18 -0700 |
commit | dab3202a03107c89a0a38c52b1695cb008e41eae (patch) | |
tree | 348bab27e2d36d41ed477d0c0909bcd6c68ff2b5 | |
parent | 03a4aaa539e36efe9f383bf1f3f87283b13fc556 (diff) |
altos: Don't initialize SPI bus twice.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/ao_m25.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ao_m25.c b/src/ao_m25.c index a4f80d86..39bcac86 100644 --- a/src/ao_m25.c +++ b/src/ao_m25.c @@ -373,7 +373,5 @@ ao_flash_init(void) SPI_CS_PORT |= M25_CS_MASK; /* raise all CS pins */ SPI_CS_DIR |= M25_CS_MASK; /* set CS pins as outputs */ SPI_CS_SEL &= ~M25_CS_MASK; /* set CS pins as GPIO */ - ao_spi_init(); - ao_cmd_register(&ao_flash_cmds[0]); } |