aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx/EEProm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F3xx/EEProm/main.c')
-rw-r--r--testhal/STM32/STM32F3xx/EEProm/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F3xx/EEProm/main.c b/testhal/STM32/STM32F3xx/EEProm/main.c
index 130a600..4460ef6 100644
--- a/testhal/STM32/STM32F3xx/EEProm/main.c
+++ b/testhal/STM32/STM32F3xx/EEProm/main.c
@@ -24,6 +24,7 @@
#define EEPROM_SPIDCONFIG spi1cfg
static const SPIConfig EEPROM_SPIDCONFIG = {
+ false,
NULL,
GPIOA,
12,
@@ -36,7 +37,7 @@ static SPIEepromFileConfig eeCfg = {
EEPROM_SIZE,
EEPROM_SIZE,
EEPROM_PAGE_SIZE,
- MS2ST(EEPROM_WRITE_TIME_MS),
+ TIME_MS2I(EEPROM_WRITE_TIME_MS),
&EEPROM_SPID,
&EEPROM_SPIDCONFIG,
};