File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void TwoWire::setClock(uint32_t clock)
94
94
* @param reset_with_timeout if true then TWI interface will be automatically reset on timeout
95
95
* if false then TWI interface will not be reset on timeout
96
96
*/
97
- void TwoWire::setWireTimeoutUs (uint32_t timeout, bool reset_with_timeout){
97
+ void TwoWire::setWireTimeout (uint32_t timeout, bool reset_with_timeout){
98
98
twi_setTimeoutInMicros (timeout, reset_with_timeout);
99
99
}
100
100
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class TwoWire : public Stream
55
55
void begin (int );
56
56
void end ();
57
57
void setClock (uint32_t );
58
- void setWireTimeoutUs (uint32_t , bool );
58
+ void setWireTimeout (uint32_t timeout = 25000 , bool reset_with_timeout = false );
59
59
bool getWireTimeoutFlag (void );
60
60
void clearWireTimeoutFlag (void );
61
61
void beginTransmission (uint8_t );
You can’t perform that action at this time.
0 commit comments