From 566abd8f3c563193d98b64a10a044ba2495a324a Mon Sep 17 00:00:00 2001 From: Chatblanc77 <107761260+Chatblanc77@users.noreply.github.com> Date: Fri, 9 Sep 2022 11:32:01 +0700 Subject: [PATCH] Update sensor_event.h --- app/include/zmk/events/sensor_event.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/include/zmk/events/sensor_event.h b/app/include/zmk/events/sensor_event.h index 53445fea..f2c8dc67 100644 --- a/app/include/zmk/events/sensor_event.h +++ b/app/include/zmk/events/sensor_event.h @@ -6,13 +6,12 @@ #pragma once -#include #include #include #include struct zmk_sensor_event { uint8_t sensor_number; - struct sensor_value value; + const struct device *sensor; int64_t timestamp; };