diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2020-06-11 17:12:12 +0200 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2020-06-11 17:12:12 +0200 |
commit | 3055c1efa3c6980c864f661e6c8cc5d5ac773af4 (patch) | |
tree | d351d7aa63be0fce0f2a839419599858b7ffd9f0 /libraries/Wire/src/utility | |
parent | e4611a150aecaaadd74fdf08f4c3cf9319da1084 (diff) |
Wire: apply last suggested comment from @matthijskooijman
Diffstat (limited to 'libraries/Wire/src/utility')
-rw-r--r-- | libraries/Wire/src/utility/twi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/src/utility/twi.c b/libraries/Wire/src/utility/twi.c index 5539633..e8a41a2 100644 --- a/libraries/Wire/src/utility/twi.c +++ b/libraries/Wire/src/utility/twi.c @@ -419,7 +419,7 @@ void twi_stop(void) while(TWCR & _BV(TWSTO)){ if(twi_timeout_us > 0ul){ if (counter > 0ul){ - _delay_us(10); + _delay_us(us_per_loop); counter--; } else { twi_handleTimeout(twi_do_reset_on_timeout); |