diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-31 09:40:52 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-31 09:40:52 +0000 |
commit | 72266f8b591c6e7857f4578ba753eeea7222ac6b (patch) | |
tree | e4ee6aff373f4d05f12899170bb5942a826c8264 /os/hal/include | |
parent | b58117763064615d8d480f3c847ea3d41fe49b81 (diff) | |
download | ChibiOS-72266f8b591c6e7857f4578ba753eeea7222ac6b.tar.gz ChibiOS-72266f8b591c6e7857f4578ba753eeea7222ac6b.tar.bz2 ChibiOS-72266f8b591c6e7857f4578ba753eeea7222ac6b.zip |
I2C. Fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3694 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/i2c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 8118bd73f..80668f28c 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -110,10 +110,10 @@ extern "C" { void i2cObjectInit(I2CDriver *i2cp);
void i2cStart(I2CDriver *i2cp, const I2CConfig *config);
void i2cStop(I2CDriver *i2cp);
- inline i2cflags_t i2cGetErrors(I2CDriver *i2cp);
+ i2cflags_t i2cGetErrors(I2CDriver *i2cp);
msg_t i2cMasterTransmitTimeout(I2CDriver *i2cp,
i2caddr_t addr,
- uint8_t *txbuf, size_t txbytes,
+ const uint8_t *txbuf, size_t txbytes,
uint8_t *rxbuf, size_t rxbytes,
systime_t timeout);
msg_t i2cMasterReceiveTimeout(I2CDriver *i2cp,
|