| 299 | } |
| 300 | |
| 301 | int CVLCommandHandler::HandleReportPowerStatus(const cec_command &command) |
| 302 | { |
| 303 | if (command.initiator == m_busDevice->GetLogicalAddress() && |
| 304 | command.parameters.size == 1 && |
| 305 | (cec_power_status)command.parameters[0] == CEC_POWER_STATUS_ON) |
| 306 | { |
| 307 | CLockObject lock(m_mutex); |
| 308 | if (m_iPowerUpEventReceived == 0) |
| 309 | m_iPowerUpEventReceived = GetTimeMs(); |
| 310 | } |
| 311 | |
| 312 | return CCECCommandHandler::HandleReportPowerStatus(command); |
| 313 | } |
nothing calls this directly
no test coverage detected