Git
Wiki
Site
projects
/
soft
/
lpc82x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b444c3
)
Fix enable / disable values for UV sensor
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 13 Sep 2016 23:22:25 +0000
(
01:22
+0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 10 Feb 2023 18:02:59 +0000
(19:02 +0100)
include/extdrv/veml6070_uv_sensor.h
patch
|
blob
|
history
diff --git
a/include/extdrv/veml6070_uv_sensor.h
b/include/extdrv/veml6070_uv_sensor.h
index
bcdba83
..
440ffdb
100644
(file)
--- 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 */
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !