aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 13:35:26 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 13:35:26 +0000
commitf3e571839bd7649073664d1c2c4ea3842695b6d5 (patch)
tree0397ef728add30dec186fdce9b33676c0ceab4e9 /os/hal/src
parent350ae0a1a9721b8889b038cf2fce6a88f1c288e3 (diff)
downloadChibiOS-f3e571839bd7649073664d1c2c4ea3842695b6d5.tar.gz
ChibiOS-f3e571839bd7649073664d1c2c4ea3842695b6d5.tar.bz2
ChibiOS-f3e571839bd7649073664d1c2c4ea3842695b6d5.zip
I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3056 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index b43be0261..cd1a238ba 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -96,7 +96,7 @@ void i2cObjectInit(I2CDriver *i2cp) {
*
* @api
*/
-void i2cStart(I2CDriver *i2cp, I2CConfig *config) {
+void i2cStart(I2CDriver *i2cp, const I2CConfig *config) {
chDbgCheck((i2cp != NULL) && (config != NULL), "i2cStart");