OSD fixes.

This commit is contained in:
sorgelig
2019-12-05 00:48:30 +08:00
parent 38291070e5
commit acf0111877
3 changed files with 2 additions and 3 deletions

View File

@@ -4870,6 +4870,7 @@ void Info(const char *message, int timeout, int width, int height, int frame)
menu_timer = GetTimer(timeout);
menustate = MENU_INFO;
OsdUpdate();
}
}

View File

@@ -695,9 +695,6 @@ char* OsdCoreName()
void OsdUpdate()
{
// reset the output channel (workaround)
if(osdset) spi_osd_cmd(OSD_CMD_WRITE);
int n = is_menu_core() ? 19 : osd_size;
for (int i = 0; i < n; i++)
{

View File

@@ -1705,6 +1705,7 @@ void user_io_read_confstr()
}
cfgstr[j++] = 0;
DisableIO();
}
char *user_io_get_confstr(int index)