diff options
author | Chris Johns <chrisj@rtems.org> | 2017-09-11 14:15:35 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-09-11 14:15:51 +1000 |
commit | 4e0ba7ef6fb46eaa11d0a28d150f12bcbe0f2250 (patch) | |
tree | acdef319b2c249f7468c25d82018e053beba7ac3 /cpukit | |
parent | bsp/atsam: Fix MPU sections. (diff) | |
download | rtems-4e0ba7ef6fb46eaa11d0a28d150f12bcbe0f2250.tar.bz2 |
i2c: TMP112 correct the function name to set the config.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/dev/include/dev/i2c/ti-tmp112.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/dev/include/dev/i2c/ti-tmp112.h b/cpukit/dev/include/dev/i2c/ti-tmp112.h index 58efbef7d8..1b80fa6994 100644 --- a/cpukit/dev/include/dev/i2c/ti-tmp112.h +++ b/cpukit/dev/include/dev/i2c/ti-tmp112.h @@ -83,7 +83,7 @@ ti_tmp112_get_temperature_raw(int fd, unsigned int* temp) * Set the configuration. */ static inline int -ti_tmp112_adc_set_mux(int fd, uint16_t config) +ti_tmp112_adc_set_config(int fd, uint16_t config) { return ioctl(fd, TI_TMP112_SET_CONFIG, (void *)(uintptr_t) config); } |