cec: more magic numbers. use the default CEC timeout of 1000ms instead of 2000ms...
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 8f02ac7e28bf9ad725cf5179a4ef43ec447e271e..141180dd74c4f4022f30ffaf5f19a1ac7340fb1a 100644 (file)
@@ -44,7 +44,7 @@ using namespace PLATFORM;
 
 #define ToString(p) m_processor->ToString(p)
 
-CCECBusDevice::CCECBusDevice(CCECProcessor *processor, cec_logical_address iLogicalAddress, uint16_t iPhysicalAddress) :
+CCECBusDevice::CCECBusDevice(CCECProcessor *processor, cec_logical_address iLogicalAddress, uint16_t iPhysicalAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */) :
   m_type                  (CEC_DEVICE_TYPE_RESERVED),
   m_iPhysicalAddress      (iPhysicalAddress),
   m_iStreamPath           (CEC_INVALID_PHYSICAL_ADDRESS),