change cec delay

This commit is contained in:
TangoCash
2021-12-02 22:17:01 +01:00
committed by Thilo Graf
parent 12ed6c295d
commit e779413ca7
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ void hdmi_cec::SendCECMessage(struct cec_message &txmessage, int sleeptime)
::write(hdmiFd, &message, 2 + message.length);
}
usleep(sleeptime * 10000);
usleep(sleeptime * 1000);
}
}

View File

@@ -89,7 +89,7 @@ class hdmi_cec : public OpenThreads::Thread
void SetCECAutoView(bool);
void SetCECAutoStandby(bool);
void GetCECAddressInfo();
void SendCECMessage(struct cec_message &message, int sleeptime = 10);
void SendCECMessage(struct cec_message &message, int sleeptime = 250);
void SetCECState(bool state);
void ReportPhysicalAddress();
bool standby_cec_activ;