small fix for CEC

Signed-off-by: Thilo Graf <dbt@novatux.de>

Try to fix unintended switch to HDM1 on tv with enabled
CEC on set top box.
This commit is contained in:
TangoCash
2021-01-20 10:21:29 +01:00
committed by Thilo Graf
parent b0aedf247f
commit 5481b9f523

View File

@@ -408,6 +408,8 @@ void hdmi_cec::SetCECState(bool state)
}
#endif
GetCECAddressInfo();
message.initiator = logicalAddress;
message.destination = CEC_LOG_ADDR_BROADCAST;
message.data[0] = CEC_MSG_ACTIVE_SOURCE;