From: Nathael Pajani Date: Tue, 13 Sep 2016 23:22:25 +0000 (+0200) Subject: Fix enable / disable values for UV sensor X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=bd116b525b5fd20621adfe7f9b6fd58a6776d235;p=soft%2Flpc82x%2Fcore Fix enable / disable values for UV sensor --- diff --git a/include/extdrv/veml6070_uv_sensor.h b/include/extdrv/veml6070_uv_sensor.h index bcdba83..440ffdb 100644 --- a/include/extdrv/veml6070_uv_sensor.h +++ b/include/extdrv/veml6070_uv_sensor.h @@ -46,7 +46,8 @@ struct veml6070_sensor_config { #define VEML6070_INTEG_1T (0x01 << 2) #define VEML6070_INTEG_2T (0x02 << 2) #define VEML6070_INTEG_4T (0x03 << 2) -#define VEML6070_ENABLE (1 << 0) +#define VEML6070_DISABLE (1 << 0) +#define VEML6070_ENABLE (0) /* Check the sensor presence, return 1 if foundZ */