summaryrefslogtreecommitdiffstatshomepage
path: root/stm/mma.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/mma.c')
-rw-r--r--stm/mma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/mma.c b/stm/mma.c
index 48817b2d97..937da1cf7e 100644
--- a/stm/mma.c
+++ b/stm/mma.c
@@ -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);