Fix enable / disable values for UV sensor
authorNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 13 Sep 2016 23:22:25 +0000 (01:22 +0200)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 13 Sep 2016 23:22:25 +0000 (01:22 +0200)
include/extdrv/veml6070_uv_sensor.h

index bcdba83..440ffdb 100644 (file)
@@ -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 */