aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/src
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2021-01-12 10:09:35 +0100
committerGitHub <noreply@github.com>2021-01-12 10:09:35 +0100
commit9f8d27f09f3bbd1da1374b5549a82bda55d45d44 (patch)
tree51ae8877e155e764ecddb66610ededef064c4908 /libraries/Wire/src
parent60f0d0b125e06dbf57b800192c80e5f60d681438 (diff)
parentbbc017f5ba3c0fc3373976d4ef7e28237899d733 (diff)
Merge pull request #385 from greyltc/patch-1
fix twi_manageTimeoutFlag function description
Diffstat (limited to 'libraries/Wire/src')
-rw-r--r--libraries/Wire/src/utility/twi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/src/utility/twi.c b/libraries/Wire/src/utility/twi.c
index e8a41a2..d223760 100644
--- a/libraries/Wire/src/utility/twi.c
+++ b/libraries/Wire/src/utility/twi.c
@@ -490,7 +490,7 @@ void twi_handleTimeout(bool reset){
* Desc returns true if twi has seen a timeout
* optionally clears the timeout flag
* Input clear_flag: true if we should reset the hardware
- * Output none
+ * Output the value of twi_timed_out_flag when the function was called
*/
bool twi_manageTimeoutFlag(bool clear_flag){
bool flag = twi_timed_out_flag;