mirror of
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-FAT.git
synced 2025-10-18 17:42:35 +08:00
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.
This commit is contained in:
2
ff_fat.c
2
ff_fat.c
@@ -372,7 +372,7 @@ FF_Buffer_t * prvGetFromFATBuffers( FF_IOManager_t * pxIOManager,
|
|||||||
|
|
||||||
if( FF_isERR( xError ) )
|
if( FF_isERR( xError ) )
|
||||||
{
|
{
|
||||||
xError = FF_CreateError( FF_GETERROR( xError ), FF_GETFATENTRY );
|
xError = FF_createERR( FF_GETERROR( xError ), FF_GETFATENTRY );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user