This commit is contained in:
Serge
2024-05-06 19:01:32 +02:00
parent 2948a29b71
commit 43c71b833d

View File

@@ -159,7 +159,13 @@ namespace GHelper.Display
AppConfig.Set("miniled", miniled);
}
hdr = ScreenCCD.GetHDRStatus();
try
{
hdr = ScreenCCD.GetHDRStatus();
} catch (Exception ex)
{
Logger.WriteLine(ex.Message);
}
bool screenEnabled = (frequency >= 0);