From f400589c328b18519f364f59e12d25342fef1e11 Mon Sep 17 00:00:00 2001 From: Francisco Munoz Date: Mon, 3 Feb 2020 17:24:47 -0800 Subject: [PATCH] include: drivers: sensor: Add sensor channel for TACH Introduce an appropiate channel for reading back RPMs in tachometers Signed-off-by: Francisco Munoz --- include/drivers/sensor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drivers/sensor.h b/include/drivers/sensor.h index 0b0d933a30a..e68a93b3365 100644 --- a/include/drivers/sensor.h +++ b/include/drivers/sensor.h @@ -134,6 +134,9 @@ enum sensor_channel { /** Position change on the Z axis, in points. */ SENSOR_CHAN_POS_DZ, + /** Revolutions per minute, in RPM. */ + SENSOR_CHAN_RPM, + /** All channels. */ SENSOR_CHAN_ALL,