Skip to content

Commit e23ce7d

Browse files
authored
Fix usage of FF_createERR macro in prvGetFAT12Entry (#62)
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.
1 parent b3d76b4 commit e23ce7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ff_fat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ FF_Buffer_t * prvGetFromFATBuffers( FF_IOManager_t * pxIOManager,
372372

373373
if( FF_isERR( xError ) )
374374
{
375-
xError = FF_CreateError( FF_GETERROR( xError ), FF_GETFATENTRY );
375+
xError = FF_createERR( FF_GETERROR( xError ), FF_GETFATENTRY );
376376
}
377377
else
378378
{

0 commit comments

Comments
 (0)