drivers: set LIS2DH default trigger mode to "EDGE_BOTH"
Previous value just activated the ability to trigger for both edges, without (de)-activating the gpio. This caused an assrtion error in GPIO.h. Fixes #71227 Signed-off-by: Juliane Schulze <juliane.schulze@deveritec.com>
This commit is contained in:
parent
0079ab1cb3
commit
72b20315ea
3 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ properties:
|
|||
The default of 0 is the most common situation to avoid multiple interrupts
|
||||
to be triggered by same event.
|
||||
|
||||
- 0 # LIS2DH_DT_GPIO_INT_EDGE
|
||||
- 0 # LIS2DH_DT_GPIO_INT_EDGE_BOTH
|
||||
- 1 # LIS2DH_DT_GPIO_INT_EDGE_RISING
|
||||
- 2 # LIS2DH_DT_GPIO_INT_EDGE_FALLING
|
||||
- 3 # LIS2DH_DT_GPIO_INT_LEVEL_HIGH
|
||||
|
@ -51,7 +51,7 @@ properties:
|
|||
The default of 0 is the most common situation to avoid multiple interrupts
|
||||
to be triggered by same event.
|
||||
|
||||
- 0 # LIS2DH_DT_GPIO_INT_EDGE
|
||||
- 0 # LIS2DH_DT_GPIO_INT_EDGE_BOTH
|
||||
- 1 # LIS2DH_DT_GPIO_INT_EDGE_RISING
|
||||
- 2 # LIS2DH_DT_GPIO_INT_EDGE_FALLING
|
||||
- 3 # LIS2DH_DT_GPIO_INT_LEVEL_HIGH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue