From d68a37318e7d59222caae031a5480486e35e89f7 Mon Sep 17 00:00:00 2001 From: Gyorgy Szombathelyi Date: Wed, 9 Jun 2021 00:55:37 +0200 Subject: [PATCH] IDXFile: turn on disk LED during indexing --- idxfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/idxfile.c b/idxfile.c index 72ead61..e042577 100644 --- a/idxfile.c +++ b/idxfile.c @@ -11,7 +11,9 @@ void IDXIndex(IDXFile *pIDXF) { pIDXF->clmt[0] = SZ_TBL; file->cltbl = pIDXF->clmt; + DISKLED_ON res = f_lseek(file, CREATE_LINKMAP); + DISKLED_OFF if (res != FR_OK) { iprintf("Error indexing (%d), continuing without indices\n", res); file->cltbl = 0;