aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx/EEProm/main.c
diff options
context:
space:
mode:
authorMichael Walker <walkerstop@gmail.com>2018-05-02 03:33:23 -0700
committerMichael Walker <walkerstop@gmail.com>2018-05-02 03:33:23 -0700
commit6d879f58f5b56eda3330aa6e7f8382f441adecf4 (patch)
treedad3f1f3b6ac3927484ee22002a947662a8a0173 /testhal/STM32/STM32F3xx/EEProm/main.c
parent4e9f077fb10255dced1da4d5d2ad9f8ae41442a2 (diff)
parentd4d384557df0e8e7a8071553448b0c42849f98c0 (diff)
downloadChibiOS-Contrib-6d879f58f5b56eda3330aa6e7f8382f441adecf4.tar.gz
ChibiOS-Contrib-6d879f58f5b56eda3330aa6e7f8382f441adecf4.tar.bz2
ChibiOS-Contrib-6d879f58f5b56eda3330aa6e7f8382f441adecf4.zip
Merge remote-tracking branch 'upstream/master'
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,
};