From: Lars Op den Kamp Date: Fri, 10 Feb 2012 11:44:11 +0000 (+0100) Subject: cec: create a default device type config in LibCecSharp X-Git-Tag: upstream/2.2.0~1^2~35^2~114 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d93fd39688099e9ff782896ce6cfa2520daa593a;p=deb_libcec.git cec: create a default device type config in LibCecSharp --- diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index 975c71d..2c158a5 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -669,6 +669,7 @@ namespace CecSharp LibCECConfiguration(void) { DeviceName = ""; + DeviceTypes = gcnew CecDeviceTypeList(); PhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS; BaseDevice = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE; HDMIPort = CEC_DEFAULT_HDMI_PORT;