Subversion Repositories MK3Mag

Compare Revisions

Ignore whitespace Rev 23 → Rev 24

/branches/MK3Mag V0.14 Code Redesign Killagreg/twislave.c/twislave.c
147,7 → 147,6
case TW_SR_SLA_ACK: // slave addressed in receiver mode and ack has been returned
Rx_Idx = 0xFF; // reset rx buffer pointer
TWCR_ACK; // trigger receiving of first data byte and send ack afterwards
LED_GRN_TOGGLE;
return;
 
case TW_SR_DATA_ACK: // data has been received and ack has been returned