diff options
author | Damien <damien.p.george@gmail.com> | 2013-10-24 00:22:27 +0100 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-10-24 00:22:27 +0100 |
commit | 7ee80bac8e6fb3f696a40f4ac6bb2cc52fda9fef (patch) | |
tree | b9496381b25ebf55acf7e4cc0dd50cad6ded5f72 /stm/mma.c | |
parent | 6f08f8ce51adf06aa64743faa713c6b7a7c2db9a (diff) |
Add support for SD card (not working).
Diffstat (limited to 'stm/mma.c')
-rw-r--r-- | stm/mma.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ void mma_init(void) { I2C1->CR1 |= I2C_CR1_PE; // wait 20ms, then turn on AVDD, then wait 20ms again; this seems to work, but maybe can decrease delays + // doesn't work for soft reboot; 50ms doesn't work either... sys_tick_delay_ms(20); GPIOB->BSRRL = GPIO_Pin_5; sys_tick_delay_ms(20); |