Inhibit mode7 for CPLD recovery menu

pull/154/head
IanSB 2020-05-30 22:54:57 +01:00
rodzic fcbd9c32d1
commit 3b577b79be
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -2350,6 +2350,9 @@ void rgb_to_hdmi_main() {
log_info("Detected polarity state at startup = %s (%s)", sync_names[capinfo->detected_sync_type & SYNC_BIT_MASK], mixed_names[(capinfo->detected_sync_type & SYNC_BIT_MIXED_SYNC) ? 1 : 0]);
// Determine initial mode
mode7 = rgb_to_fb(capinfo, extra_flags() | BIT_PROBE) & BIT_MODE7 & (autoswitch == AUTOSWITCH_MODE7);
if (cpld_fail_state != CPLD_NORMAL) {
mode7 = 0;
}
// Default to capturing indefinitely
ncapture = -1;
int keycount = key_press_reset();