repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: clean ups and only include what we need from lib/platform.
[deb_libcec.git]
/
src
/
lib
/
adapter
/
AdapterMessage.h
diff --git
a/src/lib/adapter/AdapterMessage.h
b/src/lib/adapter/AdapterMessage.h
index 26acd90d2f5d03e4079a98c52f5b01709f890704..4c8b35cf40bf7e1916c51942714ca97adbaa0b3f 100644
(file)
--- a/
src/lib/adapter/AdapterMessage.h
+++ b/
src/lib/adapter/AdapterMessage.h
@@
-31,6
+31,8
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
+#include "platform/util/StdString.h"
+
namespace CEC
{
typedef enum cec_adapter_message_state
namespace CEC
{
typedef enum cec_adapter_message_state
@@
-255,13
+257,14
@@
namespace CEC
void Clear(void)
{
void Clear(void)
{
- state = ADAPTER_MESSAGE_STATE_UNKNOWN;
- transmit_timeout
= 0
;
+ state
= ADAPTER_MESSAGE_STATE_UNKNOWN;
+ transmit_timeout
= CEC_DEFAULT_TRANSMIT_TIMEOUT
;
packet.Clear();
packet.Clear();
- maxTries = CEC_DEFAULT_TRANSMIT_RETRIES + 1;
- tries = 0;
- reply = MSGCODE_NOTHING;
- isTransmission = true;
+ maxTries = CEC_DEFAULT_TRANSMIT_RETRIES + 1;
+ tries = 0;
+ reply = MSGCODE_NOTHING;
+ isTransmission = true;
+ expectControllerAck = true;
}
void Shift(uint8_t iShiftBy)
}
void Shift(uint8_t iShiftBy)
@@
-354,6
+357,7
@@
namespace CEC
cec_adapter_message_state state;
int32_t transmit_timeout;
bool isTransmission;
cec_adapter_message_state state;
int32_t transmit_timeout;
bool isTransmission;
+ bool expectControllerAck;
PLATFORM::CMutex mutex;
PLATFORM::CCondition condition;
};
PLATFORM::CMutex mutex;
PLATFORM::CCondition condition;
};