aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-12-09 13:20:06 +0100
committerLars-Dominik Braun <lars@6xq.net>2014-12-09 13:20:06 +0100
commitbb7c465741fa70c8b52792ec12ded7af52056cd0 (patch)
tree5b25425f423b9b839b15b79536b70d892717f540 /gyro.h
parent254fb0c490c62c0e29518cab2d8b5c90a30b378c (diff)
downloadhourglass-bb7c465741fa70c8b52792ec12ded7af52056cd0.tar.gz
hourglass-bb7c465741fa70c8b52792ec12ded7af52056cd0.tar.bz2
hourglass-bb7c465741fa70c8b52792ec12ded7af52056cd0.zip
gyro: non-blocking start/stop, enable only when required
Save energy by disabling the gyro most of the time (i.e. not in selection mode).
Diffstat (limited to 'gyro.h')
-rw-r--r--gyro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyro.h b/gyro.h
index 0620093..dbed436 100644
--- a/gyro.h
+++ b/gyro.h
@@ -6,6 +6,7 @@
void gyroInit ();
void gyroStart ();
+void gyroStop ();
bool gyroProcess ();
void gyroResetAccum ();
int32_t gyroGetZAccum ();