From 0b27210105c9fe4acc1db8ec97d7b53c011ccc5f Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 6 Mar 2012 22:03:54 -0700 Subject: Wire (AVR): Fix bug with repeated START Fix #66 --- libraries/Wire/utility/twi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libraries') 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 -- cgit v1.2.3-18-g5258