[PRJ][APPS][USBH] Fix stack corruption due to inconsistent type of local variable in MSC_File_Operations()

This commit is contained in:
Kilani Akrich 2023-09-28 17:43:32 +01:00 committed by Rania JMAI
parent bdec2f6b06
commit 6533756854
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ uint8_t wtext[] = "USB Host Library : Mass Storage Example";
*/
void MSC_File_Operations(void)
{
uint16_t bytesread;
uint32_t bytesread;
LCD_UsrLog("INFO : FatFs Initialized \n");

View File

@ -40,7 +40,7 @@ uint8_t wtext[] = "USB Host Library : Mass Storage Example";
*/
void MSC_File_Operations(void)
{
uint16_t bytesread;
uint32_t bytesread;
LCD_UsrLog("INFO : FatFs Initialized \n");