From 12992db45cf71b0b729644452e2eb1966eb7a575 Mon Sep 17 00:00:00 2001 From: Stephane D'Alu Date: Sun, 7 Feb 2016 17:05:10 +0100 Subject: [PATCH] fixed comments, set default i2c address --- os/various/devices_lib/sensors/hdc1000/hdc1000.h | 9 ++++----- 1 file 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 43090d9a..8522ecb1 100644 --- a/os/various/devices_lib/sensors/hdc1000/hdc1000.h +++ b/os/various/devices_lib/sensors/hdc1000/hdc1000.h @@ -16,17 +16,16 @@ #include #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