repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: documentation for the new CCECClient and made methods protected that are only...
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECTuner.cpp
diff --git
a/src/lib/devices/CECTuner.cpp
b/src/lib/devices/CECTuner.cpp
index b5de867d9e8a968fe4aeb644ce572ac5ca2330c5..4721c1a5a35010be3396a04c573960e37a605694 100644
(file)
--- a/
src/lib/devices/CECTuner.cpp
+++ b/
src/lib/devices/CECTuner.cpp
@@
-33,9
+33,16
@@
#include "CECTuner.h"
using namespace CEC;
#include "CECTuner.h"
using namespace CEC;
+using namespace PLATFORM;
-CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* =
0
*/) :
+CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* =
CEC_INVALID_PHYSICAL_ADDRESS
*/) :
CCECBusDevice(processor, address, iPhysicalAddress)
{
CCECBusDevice(processor, address, iPhysicalAddress)
{
- m_type = CEC_DEVICE_TYPE_TUNER;
+ m_type = CEC_DEVICE_TYPE_TUNER;
+}
+
+void CCECTuner::ResetDeviceStatus(void)
+{
+ CLockObject lock(m_mutex);
+ CCECBusDevice::ResetDeviceStatus();
}
}