summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-03 19:59:43 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-03 19:59:43 +0100
commit0c68e544b113f0493b9b80511c26c1e4584bd1e7 (patch)
tree37bd18d5abf5d8b347fed778c5479ef1c142a8a6 /src/device/axis/axis.c
parenta4841776b6e1751232d46482731836a7c17b896f (diff)
...
Diffstat (limited to 'src/device/axis/axis.c')
-rw-r--r--src/device/axis/axis.c8
1 files changed, 7 insertions, 1 deletions
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;
+}