From 8394629b5d43e59015cf532d739451d6ec20c0a5 Mon Sep 17 00:00:00 2001 From: Chatblanc77 <107761260+Chatblanc77@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:01:17 +0700 Subject: [PATCH] Update sensor_event.h --- app/include/zmk/events/sensor_event.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/include/zmk/events/sensor_event.h b/app/include/zmk/events/sensor_event.h index f579bc39..53445fea 100644 --- a/app/include/zmk/events/sensor_event.h +++ b/app/include/zmk/events/sensor_event.h @@ -6,13 +6,14 @@ #pragma once +#include #include #include #include struct zmk_sensor_event { uint8_t sensor_number; - const struct device *sensor; + struct sensor_value value; int64_t timestamp; }; -ZMK_EVENT_DECLARE(zmk_sensor_event); \ No newline at end of file +ZMK_EVENT_DECLARE(zmk_sensor_event);