Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Error in ff_stat documentation #57

Closed
carlk3 opened this issue Nov 16, 2023 · 4 comments
Closed

[DOC] Error in ff_stat documentation #57

carlk3 opened this issue Nov 16, 2023 · 4 comments
Assignees

Comments

@carlk3
Copy link
Contributor

carlk3 commented Nov 16, 2023

Describe the issue
Please describe the issue and expected clarification in concise language.

ff_stat says

int ff_stat( const char *pcFileName, ff_stat_struct *pxStatBuffer );

and the example has

ff_stat_struct xStat;

However, if you try it, you'll get "identifier "ff_stat_struct" is undefined".

I think you mean FF_Stat_t.

Reference
Please attach the URL at which you are experiencing the issue.

https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/stdio_API/ff_stat.html

Screenshot
If applicable, please attach screenshot.

Browser

  • Browser: [e.g. Chrome]
  • Version: [e.g. 80.0.3987.132]
@ydhuang28 ydhuang28 self-assigned this Nov 17, 2023
@htibosch
Copy link
Contributor

htibosch commented Nov 18, 2023

Hello @carlk3, thank you for brining this to our attention. In today's repo the function is indeed declared as:

int ff_stat( const char * pcFileName,
                 FF_Stat_t * pxStatBuffer );

I will ask to have it changed.

@ydhuang28
Copy link

Hi @carlk3, thanks for catching this for us. I'm working on a fix and the documentation should be updated shortly. Will close the issue once the pages are updated.

@kar-rahul-aws
Copy link
Member

Hi @carlk3
The documentation has been updated. You can have a look here

@carlk3
Copy link
Contributor Author

carlk3 commented Feb 2, 2024

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants