File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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)
9494 * @param reset_with_timeout if true then TWI interface will be automatically reset on timeout
9595 * if false then TWI interface will not be reset on timeout
9696 */
97- void TwoWire::setWireTimeoutUs (uint32_t timeout, bool reset_with_timeout){
97+ void TwoWire::setWireTimeout (uint32_t timeout, bool reset_with_timeout){
9898 twi_setTimeoutInMicros (timeout, reset_with_timeout);
9999}
100100
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class TwoWire : public Stream
5555 void begin (int );
5656 void end ();
5757 void setClock (uint32_t );
58- void setWireTimeoutUs (uint32_t , bool );
58+ void setWireTimeout (uint32_t timeout = 25000 , bool reset_with_timeout = false );
5959 bool getWireTimeoutFlag (void );
6060 void clearWireTimeoutFlag (void );
6161 void beginTransmission (uint8_t );
You can’t perform that action at this time.
0 commit comments