From 0c68e544b113f0493b9b80511c26c1e4584bd1e7 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Fri, 3 Jan 2020 19:59:43 +0100 Subject: ... --- src/device/axis/axis.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/device/axis/axis.c') diff --git a/src/device/axis/axis.c b/src/device/axis/axis.c index 2659c84..5fe313e 100644 --- a/src/device/axis/axis.c +++ b/src/device/axis/axis.c @@ -44,4 +44,10 @@ void relabsd_axis_enable axis->is_enabled = 1; } - +int relabsd_axis_is_enabled +( + const struct relabsd_axis axis [const restrict static 1] +) +{ + return axis->is_enabled; +} -- cgit v1.2.3-70-g09d2