Forces video sync outputs to update at boot

This commit is contained in:
Alex Johnson
2021-10-27 12:33:47 -04:00
parent 3a162ee9dd
commit e593f1c281

View File

@@ -205,6 +205,11 @@ namespace PepperDash.Essentials.DM
Dmps.DMOutputChange += Dmps_DMOutputChange;
Dmps.DMSystemChange += Dmps_DMSystemChange;
foreach (var input in VideoInputSyncFeedbacks)
{
input.Value.FireUpdate();
}
return base.CustomActivate();
}
@@ -832,7 +837,7 @@ namespace PepperDash.Essentials.DM
}
void Dmps_DMOutputChange(Switch device, DMOutputEventArgs args)
{
Debug.Console(2, this, "DMOutputChange Output: {0} EventId: {1}", args.Number, args.EventId.ToString());
//Debug.Console(2, this, "DMOutputChange Output: {0} EventId: {1}", args.Number, args.EventId.ToString());
var output = args.Number;