feat(radio): allow Lua tools to be contained entirely within a folder (#6448)
This commit is contained in:
@@ -1416,7 +1416,7 @@ bool readToolName(char * toolName, const char * filename)
|
||||
UINT count;
|
||||
|
||||
if (f_open(&file, filename, FA_READ) != FR_OK) {
|
||||
return "Error opening file";
|
||||
return false;
|
||||
}
|
||||
|
||||
FRESULT res = f_read(&file, &buffer, sizeof(buffer), &count);
|
||||
|
||||
Reference in New Issue
Block a user