mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-02-10 01:39:53 +00:00
IDXFile: handle indexing error
This commit is contained in:
@@ -13,7 +13,8 @@ void IDXIndex(IDXFile *pIDXF) {
|
||||
file->cltbl = pIDXF->clmt;
|
||||
res = f_lseek(file, CREATE_LINKMAP);
|
||||
if (res != FR_OK) {
|
||||
iprintf("Error indexing\n");
|
||||
iprintf("Error indexing (%d), continuing without indices\n", res);
|
||||
file->cltbl = 0;
|
||||
} else {
|
||||
time = GetTimer(0) - time;
|
||||
iprintf("File indexed in %lu ms, index size = %d\n", time >> 16, pIDXF->clmt[0]);
|
||||
|
||||
Reference in New Issue
Block a user