aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/src/Wire.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2020-06-11 15:36:44 +0200
committerMartino Facchin <m.facchin@arduino.cc>2020-06-11 15:36:44 +0200
commit38ff552087efdbe0d98a88e9f74bfeb5e1504997 (patch)
tree92abf6872ce02907361a3b223061bdb3f9778941 /libraries/Wire/src/Wire.h
parentdeea9293201dbab724b6b0519c35ddba3e6b92d9 (diff)
Wire: add sensible defaults to setWireTimeout
Diffstat (limited to 'libraries/Wire/src/Wire.h')
-rw-r--r--libraries/Wire/src/Wire.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/src/Wire.h b/libraries/Wire/src/Wire.h
index c8b9a3e..e70d72e 100644
--- a/libraries/Wire/src/Wire.h
+++ b/libraries/Wire/src/Wire.h
@@ -55,7 +55,7 @@ class TwoWire : public Stream
void begin(int);
void end();
void setClock(uint32_t);
- void setWireTimeoutUs(uint32_t, bool);
+ void setWireTimeout(uint32_t timeout = 25000, bool reset_with_timeout = false);
bool getWireTimeoutFlag(void);
void clearWireTimeoutFlag(void);
void beginTransmission(uint8_t);