aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-11 18:30:56 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-11 18:30:56 +0000
commita08f38d06c5dabf25751bac2deb4259e67fac530 (patch)
tree2181f090904b3908698d1c74b9b9428a5d5857f8 /os/hal/src
parentff11f4aa9a4815f3cf4d2a3becba0101cd684a6d (diff)
downloadChibiOS-a08f38d06c5dabf25751bac2deb4259e67fac530.tar.gz
ChibiOS-a08f38d06c5dabf25751bac2deb4259e67fac530.tar.bz2
ChibiOS-a08f38d06c5dabf25751bac2deb4259e67fac530.zip
I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 2.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3307 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index 9ce2cc76f..68735b037 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -166,7 +166,7 @@ void i2cStop(I2CDriver *i2cp) {
* you want transmit only
*/
void i2cMasterTransmit(I2CDriver *i2cp,
- const I2CSlaveConfig *i2cscfg,
+ I2CSlaveConfig *i2cscfg,
uint16_t slave_addr,
uint8_t *txbuf,
size_t txbytes,
@@ -210,7 +210,7 @@ void i2cMasterTransmit(I2CDriver *i2cp,
* @param[in] rxbuf pointer to receive buffer
*/
void i2cMasterReceive(I2CDriver *i2cp,
- const I2CSlaveConfig *i2cscfg,
+ I2CSlaveConfig *i2cscfg,
uint16_t slave_addr,
uint8_t *rxbuf,
size_t rxbytes){