summaryrefslogtreecommitdiff
path: root/app/include/drivers/behavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/drivers/behavior.h')
-rw-r--r--app/include/drivers/behavior.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/include/drivers/behavior.h b/app/include/drivers/behavior.h
index 39561a2..d90897d 100644
--- a/app/include/drivers/behavior.h
+++ b/app/include/drivers/behavior.h
@@ -23,7 +23,7 @@
typedef int (*behavior_keymap_binding_callback_t)(struct zmk_behavior_binding *binding,
struct zmk_behavior_binding_event event);
typedef int (*behavior_sensor_keymap_binding_callback_t)(struct zmk_behavior_binding *binding,
- struct device *sensor, s64_t timestamp);
+ struct device *sensor, int64_t timestamp);
__subsystem struct behavior_driver_api {
behavior_keymap_binding_callback_t binding_pressed;
@@ -92,11 +92,11 @@ static inline int z_impl_behavior_keymap_binding_released(struct zmk_behavior_bi
* @retval Negative errno code if failure.
*/
__syscall int behavior_sensor_keymap_binding_triggered(struct zmk_behavior_binding *binding,
- struct device *sensor, s64_t timestamp);
+ struct device *sensor, int64_t timestamp);
static inline int
z_impl_behavior_sensor_keymap_binding_triggered(struct zmk_behavior_binding *binding,
- struct device *sensor, s64_t timestamp) {
+ struct device *sensor, int64_t timestamp) {
struct device *dev = device_get_binding(binding->behavior_dev);
const struct behavior_driver_api *api = (const struct behavior_driver_api *)dev->driver_api;