From e23ce7da3f383e37f68debe322c65c475e965b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Tue, 30 Jan 2024 23:28:01 +0100 Subject: [PATCH] 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: ---------- - [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. --- ff_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ff_fat.c b/ff_fat.c index ae0f917..4114e91 100644 --- a/ff_fat.c +++ b/ff_fat.c @@ -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 {