OSD: backspace to clear FC option.

This commit is contained in:
sorgelig
2021-04-27 23:25:54 +08:00
parent 96b241dce9
commit ea5da96d36
3 changed files with 46 additions and 26 deletions

View File

@@ -622,7 +622,7 @@ static void parse_config()
{
static char str[1024];
sprintf(str, "%s.f%c", user_io_get_core_name(), p[2]);
if (FileLoadConfig(str, str, sizeof(str)))
if (FileLoadConfig(str, str, sizeof(str)) && str[0])
{
user_io_file_tx(str, p[2] - '0');
}