aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-12 15:50:35 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-12 15:50:35 +0000
commitd3e15bccfc41af4e4d3972003ff06b69de2225bc (patch)
tree2270080008d85d1418004576832effd8876537b4 /os/hal/src
parent7148a664b5c73138a504cd61a1882cfb91ba3b7a (diff)
downloadChibiOS-d3e15bccfc41af4e4d3972003ff06b69de2225bc.tar.gz
ChibiOS-d3e15bccfc41af4e4d3972003ff06b69de2225bc.tar.bz2
ChibiOS-d3e15bccfc41af4e4d3972003ff06b69de2225bc.zip
I2C. Revert const qualifier to the pointer to I2CSlaveConfig.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3310 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 68735b037..9ce2cc76f 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,
- I2CSlaveConfig *i2cscfg,
+ const 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,
- I2CSlaveConfig *i2cscfg,
+ const I2CSlaveConfig *i2cscfg,
uint16_t slave_addr,
uint8_t *rxbuf,
size_t rxbytes){