aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.h
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/platforms/STM32/i2c_lld.h
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/platforms/STM32/i2c_lld.h')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h
index aa11bb543..548b5418e 100644
--- a/os/hal/platforms/STM32/i2c_lld.h
+++ b/os/hal/platforms/STM32/i2c_lld.h
@@ -212,7 +212,7 @@ struct I2CDriver{
/**
* @brief Current slave configuration data.
*/
- I2CSlaveConfig *id_slave_config;
+ const I2CSlaveConfig *id_slave_config;
__IO size_t txbytes; /*!< @brief Number of bytes to be transmitted. */
__IO size_t rxbytes; /*!< @brief Number of bytes to be received. */