From 6c3554ef8152e48e9ef668cfa321f7c7e01f5361 Mon Sep 17 00:00:00 2001 From: Romain Reignier Date: Mon, 12 Mar 2018 21:18:36 +0100 Subject: testhal: stm32: update to latest ChibiOS API --- testhal/STM32/STM32F3xx/EEProm/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F3xx/EEProm/main.c') 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, }; -- cgit v1.2.3