diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-07 17:05:10 +0100 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-07 17:05:10 +0100 |
commit | 12992db45cf71b0b729644452e2eb1966eb7a575 (patch) | |
tree | 667069118ecea51b0720677ac05e9d4f1a9cd496 | |
parent | ee5bea89c258d29dd628e366940569dd9795b1a9 (diff) | |
download | ChibiOS-Contrib-12992db45cf71b0b729644452e2eb1966eb7a575.tar.gz ChibiOS-Contrib-12992db45cf71b0b729644452e2eb1966eb7a575.tar.bz2 ChibiOS-Contrib-12992db45cf71b0b729644452e2eb1966eb7a575.zip |
fixed comments, set default i2c address
-rw-r--r-- | os/various/devices_lib/sensors/hdc1000/hdc1000.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/os/various/devices_lib/sensors/hdc1000/hdc1000.h b/os/various/devices_lib/sensors/hdc1000/hdc1000.h index 43090d9..8522ecb 100644 --- a/os/various/devices_lib/sensors/hdc1000/hdc1000.h +++ b/os/various/devices_lib/sensors/hdc1000/hdc1000.h @@ -16,17 +16,16 @@ #include <stdbool.h> #include "i2c_helpers.h" -// I2C address +/* I2C address */ #define HDC1000_I2CADDR_1 0x40 #define HDC1000_I2CADDR_2 0x41 #define HDC1000_I2CADDR_3 0x42 #define HDC1000_I2CADDR_4 0x43 -#ifndef HDC1000_I2CADDR -#define HDC1000_I2CADDR HDC1000_I2CADDR_1 -#endif +#define HDC1000_I2CADDR_DEFAULT HDC1000_I2CADDR_1 + -// Size of serial (40 bits) +/* Size of serial (40 bits) */ #define HDC1000_SERIAL_SIZE 5 #define HDC1000_CONTINUOUS_ACQUISITION_SUPPORTED FALSE |