Skip to content

Commit

Permalink
Fix usage of FF_createERR macro in prvGetFAT12Entry (#62)
Browse files Browse the repository at this point in the history
Description
-----------
#45 introduced a compilation error about implicit `FF_CreateError`
function when using FAT12 support. I assume it was supposed to be
`FF_createERR` macro instead so I changed it.

Checklist:
----------
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
- [x] I have tested my changes. No regression in existing tests.
- [ ] I have modified and/or added unit-tests to cover the code changes
in this Pull Request.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
  • Loading branch information
bjsowa authored Jan 30, 2024
1 parent b3d76b4 commit e23ce7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ FF_Buffer_t * prvGetFromFATBuffers( FF_IOManager_t * pxIOManager,

if( FF_isERR( xError ) )
{
xError = FF_CreateError( FF_GETERROR( xError ), FF_GETFATENTRY );
xError = FF_createERR( FF_GETERROR( xError ), FF_GETFATENTRY );
}
else
{
Expand Down

0 comments on commit e23ce7d

Please sign in to comment.