We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375c494 commit 5a90401Copy full SHA for 5a90401
libraries/Wire/Wire.h
@@ -124,9 +124,9 @@ class TwoWire : public arduino::HardwareI2C {
124
void onRequest( void (*)(void) );
125
126
void setBusStatus(WireStatus_t);
127
- /* set timeout in us for I2C communication (default is 1 ms)
+ /* set timeout in us for I2C communication (default is 1000 us)
128
the second parameter has been added for compatibility but it has no effect*/
129
- void setWireTimeout(unsigned int t = 1, bool reset_on_timeout = false);
+ void setWireTimeout(unsigned int t = 1000, bool reset_on_timeout = false);
130
131
inline size_t write(unsigned long n) { return write((uint8_t)n); }
132
inline size_t write(long n) { return write((uint8_t)n); }
0 commit comments