feat(radio): allow Lua tools to be contained entirely within a folder (#6448)

This commit is contained in:
philmoz
2025-07-21 13:40:54 +10:00
committed by GitHub
parent b7dc456283
commit a64831e6b4
3 changed files with 35 additions and 15 deletions
+1 -1
View File
@@ -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);