Explorar el Código

fix repeated start in slave mode

main
PaulStoffregen hace 9 años
padre
commit
9b2a47eb8b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      utility/twi.c

+ 1
- 1
utility/twi.c Ver fichero

@@ -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

Cargando…
Cancelar
Guardar