Skip to content

Commit

Permalink
fixed z1 i2c bug where 2 extra bytes were read with every i2c-receive
Browse files Browse the repository at this point in the history
  • Loading branch information
JelmerT committed Jan 30, 2013
1 parent 12dd138 commit f497614
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion platform/z1/dev/i2cmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ ISR(USCIAB1TX, i2c_tx_interrupt)
{
// TX Part
if (UC1IFG & UCB1TXIFG) { // TX int. condition
PRINTFDEBUG("!!! TX int\n");
if (tx_byte_ctr == 0) {
UCB1CTL1 |= UCTXSTP; // I2C stop condition
UC1IFG &= ~UCB1TXIFG; // Clear USCI_B1 TX int flag
Expand Down

0 comments on commit f497614

Please sign in to comment.