Page 1 of 1

hal_files.h

Posted: Thu Mar 28, 2019 4:05 pm
by DeTHX
Hello,
I am porting a project from 182 to 191.
I could not compile the project because of changes in hal_files.h.
getsize and getposition now have a second parameter offset.

What is the reason for this?

In hal_eeprom.c the functions stil have only one parameter.
msg_t eepfs_getsize(void *ip) {
msg_t eepfs_getposition(void *ip) {

thanks
DeTHX

Re: hal_files.h

Posted: Thu Mar 28, 2019 5:46 pm
by Giovanni
Hi,

The problem with community code is that it does not necessarily is in sync with the official one because it is not actively maintained.

That files belong to the community repository so you should make a pull request there or contact the author.

Giovanni