MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / ResetSLState

Method ResetSLState

src/libcec/implementations/SLCommandHandler.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void CSLCommandHandler::ResetSLState(void)
329{
330 LIB_CEC->AddLog(CEC_LOG_NOTICE, "resetting SL initialised state");
331 CLockObject lock(m_SLMutex);
332 m_bSLEnabled = false;
333 m_processor->GetPrimaryDevice()->SetPowerStatus(CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON);
334}
335
336void CSLCommandHandler::SetSLInitialised(void)
337{

Callers

nothing calls this directly

Calls 3

SetPowerStatusMethod · 0.80
AddLogMethod · 0.45
GetPrimaryDeviceMethod · 0.45

Tested by

no test coverage detected