Update sensor_event.h

This commit is contained in:
Chatblanc77 2022-09-09 11:32:01 +07:00 committed by GitHub
parent f0991c174f
commit 566abd8f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,13 +6,12 @@
#pragma once
#include <drivers/sensor.h>
#include <zephyr.h>
#include <zmk/event_manager.h>
#include <device.h>
struct zmk_sensor_event {
uint8_t sensor_number;
struct sensor_value value;
const struct device *sensor;
int64_t timestamp;
};