SD card, if selected in build config, replacing internal storage

This commit is contained in:
Bogdan Pilyugin 2024-05-08 10:24:42 +02:00
parent 8e2490bef0
commit c9beeaa39c

View File

@ -369,12 +369,20 @@ static void funct_exec(char *argres, int rw)
static void funct_file_list(char *argres, int rw)
{
#if CONFIG_SDCARD_ENABLE
FileListHandler(argres, rw, "/sdcard/");
#else
FileListHandler(argres, rw, "/data/");
#endif
}
static void funct_file_block(char *argres, int rw)
{
#if CONFIG_SDCARD_ENABLE
FileBlockHandler(argres, rw, "/sdcard/");
#else
FileBlockHandler(argres, rw, "/data/");
#endif
}
#if CONFIG_SDCARD_ENABLE