소스 검색

fix repeated start in slave mode

main
PaulStoffregen 9 년 전
부모
커밋
9b2a47eb8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      utility/twi.c

+ 1
- 1
utility/twi.c 파일 보기

@@ -467,7 +467,7 @@ SIGNAL(TWI_vect)
twi_rxBuffer[twi_rxBufferIndex] = '\0';
}
// sends ack and stops interface for clock stretching
twi_stop();
//twi_stop(); // Arduino issue #66
// callback to user defined callback
twi_onSlaveReceive(twi_rxBuffer, twi_rxBufferIndex);
// since we submit rx buffer to "wire" library, we can reset it

Loading…
취소
저장