repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't send commands if we know them to be unsupported. bugzid: 725
[deb_libcec.git]
/
src
/
lib
/
adapter
/
AdapterCommunication.h
diff --git
a/src/lib/adapter/AdapterCommunication.h
b/src/lib/adapter/AdapterCommunication.h
index 160a0fd3c30c320f9d262e6b2725c48b61fc0673..cbbc7ff89ed3dc43cbc349769712a76c8a3ded32 100644
(file)
--- a/
src/lib/adapter/AdapterCommunication.h
+++ b/
src/lib/adapter/AdapterCommunication.h
@@
-101,12
+101,11
@@
namespace CEC
/*!
* @brief Write a cec_command to the adapter
* @param data The command to write
/*!
* @brief Write a cec_command to the adapter
* @param data The command to write
- * @param iMaxTries The maximum number of tries
- * @param iLineTimeout The line timeout for the first try
- * @param iRetryLineTimeout The line timeout for each next try
+ * @param bRetry The command can be retried
+ * @param iLineTimeout The line timeout to be used
* @return The last state of the transmitted command
*/
* @return The last state of the transmitted command
*/
- virtual cec_adapter_message_state Write(const cec_command &data,
uint8_t iMaxTries, uint8_t iLineTimeout = 3, uint8_t iRetry
LineTimeout = 3) = 0;
+ virtual cec_adapter_message_state Write(const cec_command &data,
bool &bRetry, uint8_t i
LineTimeout = 3) = 0;
/*!
* @brief Change the current line timeout on the CEC bus
/*!
* @brief Change the current line timeout on the CEC bus