diff options
author | Nate Williams <nate@yogotech.com> | 2012-03-06 22:03:54 -0700 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-08-26 16:02:02 +0200 |
commit | 0b27210105c9fe4acc1db8ec97d7b53c011ccc5f (patch) | |
tree | 81acbe2808367d4dd8e75a6d5370c5e4ad9d947a | |
parent | eab6601ebc4ff975086fe9a69a816f550b22b8f0 (diff) |
Wire (AVR): Fix bug with repeated START
Fix #66
-rw-r--r-- | libraries/Wire/utility/twi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/Wire/utility/twi.c b/libraries/Wire/utility/twi.c index d7d72bc..b436e69 100644 --- a/libraries/Wire/utility/twi.c +++ b/libraries/Wire/utility/twi.c @@ -480,8 +480,6 @@ ISR(TWI_vect) if(twi_rxBufferIndex < TWI_BUFFER_LENGTH){ twi_rxBuffer[twi_rxBufferIndex] = '\0'; } - // sends ack and stops interface for clock stretching - twi_stop(); // callback to user defined callback twi_onSlaveReceive(twi_rxBuffer, twi_rxBufferIndex); // since we submit rx buffer to "wire" library, we can reset it |