From c709ba710a9ae6d5dfdaee22bdf27c0869288a6f Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 9 Apr 2020 14:31:38 -0400 Subject: [PATCH] Compacts HDCP events into one case --- .../Chassis/DmChassisController.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs b/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs index 1f6ce51b..954ee2cf 100644 --- a/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs +++ b/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs @@ -803,26 +803,10 @@ namespace PepperDash.Essentials.DM break; } case DMInputEventIds.HdcpCapabilityFeedbackEventId: - { - Debug.Console(2, this, "DM Input {0} HdcpCapabilityFeedbackEventId", args.Number); - if (InputCardHdcpCapabilityFeedbacks[args.Number] != null) - InputCardHdcpCapabilityFeedbacks[args.Number].FireUpdate(); - else - Debug.Console(1, this, "No index of {0} found in InputCardHdcpCapabilityFeedbacks"); - break; - } case DMInputEventIds.HdcpSupportOnEventId: - { - Debug.Console(2, this, "DM Input {0} HdcpSupportOnEventId", args.Number); - if (InputCardHdcpCapabilityFeedbacks[args.Number] != null) - InputCardHdcpCapabilityFeedbacks[args.Number].FireUpdate(); - else - Debug.Console(1, this, "No index of {0} found in InputCardHdcpCapabilityFeedbacks"); - break; - } case DMInputEventIds.HdcpSupportOffEventId: { - Debug.Console(2, this, "DM Input {0} HdcpSupportOffEventId", args.Number); + Debug.Console(2, this, "DM Input {0} {1}", args.Number, args.EventId.ToString()); if (InputCardHdcpCapabilityFeedbacks[args.Number] != null) InputCardHdcpCapabilityFeedbacks[args.Number].FireUpdate(); else