mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-02-01 05:52:16 +00:00
ini_parser: don't advance the file pointer too soon
Fixes custom ROM entry handler
This commit is contained in:
@@ -68,8 +68,8 @@ char ini_getch()
|
||||
#ifdef INI_PARSER_TEST
|
||||
fread(sector_buffer, sizeof(char), INI_BUF_SIZE, ini_fp);
|
||||
#else
|
||||
if (ini_pt) FileNextSector(&ini_file);
|
||||
FileRead(&ini_file, sector_buffer);
|
||||
FileNextSector(&ini_file);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user