aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_i2c.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-15 06:51:20 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-15 06:51:20 +0000
commita47f5705d3f6abf4abaffa949f7bb50132507d94 (patch)
tree88441bfd980b5186b750a7775b9c60faf4e21b66 /os/hal/include/hal_i2c.h
parentcb725828056b9564ab5d723bd0738375a83c077c (diff)
downloadChibiOS-a47f5705d3f6abf4abaffa949f7bb50132507d94.tar.gz
ChibiOS-a47f5705d3f6abf4abaffa949f7bb50132507d94.tar.bz2
ChibiOS-a47f5705d3f6abf4abaffa949f7bb50132507d94.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rt5_dev_point1@10822 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_i2c.h')
-rw-r--r--os/hal/include/hal_i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/hal_i2c.h b/os/hal/include/hal_i2c.h
index c9c8409cb..379c56308 100644
--- a/os/hal/include/hal_i2c.h
+++ b/os/hal/include/hal_i2c.h
@@ -145,11 +145,11 @@ extern "C" {
i2caddr_t addr,
const uint8_t *txbuf, size_t txbytes,
uint8_t *rxbuf, size_t rxbytes,
- systime_t timeout);
+ sysinterval_t timeout);
msg_t i2cMasterReceiveTimeout(I2CDriver *i2cp,
i2caddr_t addr,
uint8_t *rxbuf, size_t rxbytes,
- systime_t timeout);
+ sysinterval_t timeout);
#if I2C_USE_MUTUAL_EXCLUSION == TRUE
void i2cAcquireBus(I2CDriver *i2cp);
void i2cReleaseBus(I2CDriver *i2cp);