change cec delay

Origin commit data
------------------
Branch: master
Commit: 758a412197
Author: TangoCash <eric@loxat.de>
Date: 2021-12-02 (Thu, 02 Dec 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2021-12-02 22:17:01 +01:00
committed by vanhofen
parent 4195e1acb0
commit fc6d9fe0e7
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); ::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 SetCECAutoView(bool);
void SetCECAutoStandby(bool); void SetCECAutoStandby(bool);
void GetCECAddressInfo(); 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 SetCECState(bool state);
void ReportPhysicalAddress(); void ReportPhysicalAddress();
bool standby_cec_activ; bool standby_cec_activ;