From 8a0095ecd93309d011877f3cc8185a034d941b26 Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Tue, 1 Oct 2019 19:51:04 +0200 Subject: Updated testhal for 19.1.x --- testhal/STM32/STM32F3xx/EEProm/main.c | 2 +- 1 file changed, 1 insertion(+), 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 4460ef6..939c66e 100644 --- a/testhal/STM32/STM32F3xx/EEProm/main.c +++ b/testhal/STM32/STM32F3xx/EEProm/main.c @@ -57,7 +57,7 @@ static THD_FUNCTION(ThreadEE, arg) { eeFS = SPIEepromFileOpen(&eeFile, &eeCfg, EepromFindDevice(EEPROM_DEV_25XX)); - fileStreamSeek(eeFS, 0); + fileStreamSetPosition(eeFS, 0); fileStreamWrite(eeFS, buffer, len); fileStreamRead(eeFS, buffer, len); -- cgit v1.2.3