> This corrects a problem where a non-interrupt driven twi driver
functions on the target (m32) but not in simavr.
> This also fixes ../examples/board_i2ctest so that it functions as
expected.
#endif
// generate a start condition
if (p->state & TWI_COND_START)
- _avr_twi_delay_state(p, 3, TWI_REP_START);
+ _avr_twi_delay_state(p, 0, TWI_REP_START);
else
- _avr_twi_delay_state(p, 3, TWI_START);
+ _avr_twi_delay_state(p, 0, TWI_START);
p->peer_addr = 0;
p->state = TWI_COND_START;
}