Fixed starting scripts from "Tools" page
This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
|
||||
extern uint8_t g_moduleIdx;
|
||||
|
||||
#define TOOL_NAME_MAXLEN 16
|
||||
|
||||
RadioToolsPage::RadioToolsPage():
|
||||
PageTab(STR_MENUTOOLS, ICON_RADIO_TOOLS)
|
||||
{
|
||||
@@ -104,7 +102,7 @@ void RadioToolsPage::rebuild(FormWindow * window)
|
||||
|
||||
strcat(path, fno.fname);
|
||||
if (isRadioScriptTool(fno.fname)) {
|
||||
char toolName[TOOL_NAME_MAXLEN + 1];
|
||||
char toolName[RADIO_TOOL_NAME_MAXLEN + 1] = {0};
|
||||
const char * label;
|
||||
char * ext = (char *)getFileExtension(path);
|
||||
if (readToolName(toolName, path)) {
|
||||
|
||||
Reference in New Issue
Block a user