diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-10-02 16:27:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 16:27:12 +0200 |
commit | 51910c3551c2a4232ba3defcef063e2f745f925a (patch) | |
tree | 3991c377dbb51eba6292303761a847471efd9879 /testhal/STM32/STM32F3xx/EEProm/main.c | |
parent | 29cdd11f63aaf8ee856551bb6a02f3486bc756ba (diff) | |
parent | c71108e2806c8a6f10f670c5b8642a26fa28b89c (diff) | |
download | ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.gz ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.bz2 ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.zip |
Merge pull request #197 from ChibiOS/fixes-19.1
Updates for 19.1.x compatibliity
Diffstat (limited to 'testhal/STM32/STM32F3xx/EEProm/main.c')
-rw-r--r-- | testhal/STM32/STM32F3xx/EEProm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|