Read about our upcoming Code of Conduct on this issue

Commit 418bd9cf authored by a1ex's avatar a1ex
Browse files

SD mode on HDMI: removed debug messages and reduced delays

--HG--
branch : 550d
parent e6ae1485c3d9
......@@ -259,22 +259,14 @@ movtweak_task( void* unused )
}
extern int ext_monitor_hdmi;
if (hdmi_force_vga && shooting_mode == SHOOTMODE_MOVIE && lv_drawn() && ext_monitor_hdmi && !recording)
if (hdmi_force_vga && shooting_mode == SHOOTMODE_MOVIE && lv_drawn() && ext_monitor_hdmi && !recording && !gui_menu_shown())
{
if (hdmi_code == 5)
{
bmp_printf(FONT_LARGE, 0, 0, "Old HDMI code: %d ", hdmi_code);
msleep(3000);
bmp_printf(FONT_LARGE, 0, 0, "Will change resolution to SD...");
msleep(3000);
msleep(500);
ChangeHDMIOutputSizeToVGA();
msleep(3000);
bmp_printf(FONT_LARGE, 0, 0, "New HDMI code: %d ");
msleep(3000);
bmp_printf(FONT_LARGE, 0, 0, "Will redraw... ");
msleep(3000);
msleep(500);
redraw();
msleep(5000);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment