diff --git a/I2CManager_AVR.h b/I2CManager_AVR.h index e5e1863..7613132 100644 --- a/I2CManager_AVR.h +++ b/I2CManager_AVR.h @@ -22,6 +22,7 @@ #include #include "I2CManager.h" +#include "I2CManager_NonBlocking.h" // to satisfy intellisense #include #include @@ -139,9 +140,7 @@ void I2CManagerClass::I2C_handleInterrupt() { #if defined(I2C_EXTENDED_ADDRESS) // First process the MUX state machine. - // This does not need to be entered during passthru phase unless the - // application's send and receive have both completed. - if (muxPhase > MuxPhase_OFF && !(muxPhase==MuxPhase_PASSTHRU && (bytesToSend || bytesToReceive))) { + if (muxPhase > MuxPhase_OFF) { switch (twsr) { case TWI_MTX_ADR_ACK: // SLA+W has been transmitted and ACK received if (muxPhase == MuxPhase_PROLOG) {