Skip to content

Commit 8b7b11a

Browse files
committed
- Fix bug with repeated START
1 parent 2d65814 commit 8b7b11a

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

Diff for: hardware/arduino/avr/libraries/Wire/utility/twi.c

-2
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,6 @@ ISR(TWI_vect)
464464
if(twi_rxBufferIndex < TWI_BUFFER_LENGTH){
465465
twi_rxBuffer[twi_rxBufferIndex] = '\0';
466466
}
467-
// sends ack and stops interface for clock stretching
468-
twi_stop();
469467
// callback to user defined callback
470468
twi_onSlaveReceive(twi_rxBuffer, twi_rxBufferIndex);
471469
// since we submit rx buffer to "wire" library, we can reset it

0 commit comments

Comments
 (0)