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:
Benjamin Cabé 2025-06-14 21:27:24 +02:00 committed by Daniel DeGrasse
commit c4ed1c01eb

View file

@ -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");