diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-11 20:21:45 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-11 20:21:45 +0000 |
commit | cf7747f0407db08d59ecb0570dd66f867a07063e (patch) | |
tree | 194725e08435b1b9c3b6ec744588a1a3c66fb6c8 | |
parent | a08f38d06c5dabf25751bac2deb4259e67fac530 (diff) | |
download | ChibiOS-cf7747f0407db08d59ecb0570dd66f867a07063e.tar.gz ChibiOS-cf7747f0407db08d59ecb0570dd66f867a07063e.tar.bz2 ChibiOS-cf7747f0407db08d59ecb0570dd66f867a07063e.zip |
I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 3.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3308 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/include/i2c.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 96f85460d..95bbfa8b4 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -105,7 +105,7 @@ typedef enum { * @param[in] i2cscfg pointer to the @p I2CSlaveConfig object triggering the
* callback
*/
-typedef void (*i2ccallback_t)(I2CDriver *i2cp, const I2CSlaveConfig *i2cscfg);
+typedef void (*i2ccallback_t)(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg);
/**
@@ -116,8 +116,7 @@ typedef void (*i2ccallback_t)(I2CDriver *i2cp, const I2CSlaveConfig *i2cscfg); * @param[in] i2cscfg pointer to the @p I2CSlaveConfig object triggering the
* callback
*/
-typedef void (*i2cerrorcallback_t)(I2CDriver *i2cp,
- const I2CSlaveConfig *i2cscfg);
+typedef void (*i2cerrorcallback_t)(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg);
/**
|