diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2020-06-11 15:36:44 +0200 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2020-06-11 15:36:44 +0200 |
commit | 38ff552087efdbe0d98a88e9f74bfeb5e1504997 (patch) | |
tree | 92abf6872ce02907361a3b223061bdb3f9778941 /libraries/Wire/src/Wire.cpp | |
parent | deea9293201dbab724b6b0519c35ddba3e6b92d9 (diff) |
Wire: add sensible defaults to setWireTimeout
Diffstat (limited to 'libraries/Wire/src/Wire.cpp')
-rw-r--r-- | libraries/Wire/src/Wire.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/src/Wire.cpp b/libraries/Wire/src/Wire.cpp index b446f9a..81aca98 100644 --- a/libraries/Wire/src/Wire.cpp +++ b/libraries/Wire/src/Wire.cpp @@ -94,7 +94,7 @@ void TwoWire::setClock(uint32_t clock) * @param reset_with_timeout if true then TWI interface will be automatically reset on timeout * if false then TWI interface will not be reset on timeout */ -void TwoWire::setWireTimeoutUs(uint32_t timeout, bool reset_with_timeout){ +void TwoWire::setWireTimeout(uint32_t timeout, bool reset_with_timeout){ twi_setTimeoutInMicros(timeout, reset_with_timeout); } |