drivers: sensor: tdk: fix double tap trigger handler
Ensure that the appropriate trigger is passed when a double tap is detected. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
c387d9c73d
commit
c4ed1c01eb
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ int icm42605_tap_fetch(const struct device *dev)
|
|||
if (drv_data->double_tap_handler) {
|
||||
LOG_DBG("Double Tap detected");
|
||||
drv_data->double_tap_handler(dev
|
||||
, drv_data->tap_trigger);
|
||||
, drv_data->double_tap_trigger);
|
||||
}
|
||||
} else {
|
||||
LOG_ERR("Trigger type is mismatched");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue