Skip to content

Commit 307881f

Browse files
YogoGitcmaglie
authored andcommitted
Wire (AVR): Fix bug with repeated START
Fix #66
1 parent e8bde1b commit 307881f

File tree

1 file changed

+0
-2
lines changed
  • arduino/avr/libraries/Wire/utility

1 file changed

+0
-2
lines changed

arduino/avr/libraries/Wire/utility/twi.c

-2
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,6 @@ ISR(TWI_vect)
480480
if(twi_rxBufferIndex < TWI_BUFFER_LENGTH){
481481
twi_rxBuffer[twi_rxBufferIndex] = '\0';
482482
}
483-
// sends ack and stops interface for clock stretching
484-
twi_stop();
485483
// callback to user defined callback
486484
twi_onSlaveReceive(twi_rxBuffer, twi_rxBufferIndex);
487485
// since we submit rx buffer to "wire" library, we can reset it

0 commit comments

Comments
 (0)