aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index e621c652d..5a0471e0f 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -126,7 +126,7 @@ void i2cStop(I2CDriver *i2cp) {
* @param[in] txbuf the pointer to the transmit buffer
*
*/
-void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg, bool_t restart) {
+void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg) {
chDbgCheck((i2cp != NULL) && (i2cscfg != NULL),
"i2cMasterTransmit");
@@ -134,7 +134,7 @@ void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg, bool_t restart)
"i2cMasterTransmit(), #1",
"not active");
- i2c_lld_master_transmit(i2cp, i2cscfg, restart);
+ i2c_lld_master_transmitI(i2cp, i2cscfg);
}
@@ -156,7 +156,7 @@ void i2cMasterReceive(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg) {
"i2cMasterReceive(), #1",
"not active");
- i2c_lld_master_receive(i2cp, i2cscfg);
+ i2c_lld_master_receiveI(i2cp, i2cscfg);
}