URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/orpsocv2/sw
- from Rev 542 to Rev 545
- ↔ Reverse comparison
Rev 542 → Rev 545
/drivers/i2c_master_slave/i2c_master_slave.c
243,6 → 243,8
if (stop) |
i2c_master_slave_write_reg(core, I2C_MASTER_SLAVE_CR, |
I2C_MASTER_SLAVE_CR_READ | |
// Final read, so send a NAK to slave |
I2C_MASTER_SLAVE_CR_ACK | |
I2C_MASTER_SLAVE_CR_STOP); |
else |
i2c_master_slave_write_reg(core, I2C_MASTER_SLAVE_CR, |