aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sensors.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
committerCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
commit317043010879767bc6a3bef6cbec0c5f300d1ce0 (patch)
tree4bb7c8cd59acb28c4c21eea06cb653f7b82d5aeb /sys/sys/sensors.h
parent54d853eaccae1f4f2e04ae70d79e34cfef86bf67 (diff)
downloadotools-317043010879767bc6a3bef6cbec0c5f300d1ce0.tar.gz
sys: update to 6.8
Diffstat (limited to 'sys/sys/sensors.h')
-rw-r--r--sys/sys/sensors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/sensors.h b/sys/sys/sensors.h
index 15725a6..e065d19 100644
--- a/sys/sys/sensors.h
+++ b/sys/sys/sensors.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sensors.h,v 1.36 2018/12/10 13:35:54 landry Exp $ */
+/* $OpenBSD: sensors.h,v 1.37 2020/07/15 07:13:57 kettenis Exp $ */
/*
* Copyright (c) 2003, 2004 Alexander Yurchenko <grange@openbsd.org>
@@ -53,6 +53,7 @@ enum sensor_type {
SENSOR_PRESSURE, /* pressure (mPa) */
SENSOR_ACCEL, /* acceleration (u m/s^2) */
SENSOR_VELOCITY, /* velocity (u m/s) */
+ SENSOR_ENERGY, /* energy (uJ) */
SENSOR_MAX_TYPES
};
@@ -80,6 +81,7 @@ static const char * const sensor_type_s[SENSOR_MAX_TYPES + 1] = {
"pressure",
"acceleration",
"velocity",
+ "energy",
"undefined"
};
#endif /* !_KERNEL */