From bd116b525b5fd20621adfe7f9b6fd58a6776d235 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 14 Sep 2016 01:22:25 +0200 Subject: [PATCH] Fix enable / disable values for UV sensor --- include/extdrv/veml6070_uv_sensor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.43.0