aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-04-29 15:29:28 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-04-29 15:29:28 +0200
commit6dc875e136b4ab418cf63154bdd2ffea46c6e67a (patch)
tree12604ab652ca22a7d1f8f864b8cfb50a05443f58 /gyro.h
parentb05df9df58bc6fdd122abfec3012bc2537fc069c (diff)
downloadhourglass-6dc875e136b4ab418cf63154bdd2ffea46c6e67a.tar.gz
hourglass-6dc875e136b4ab418cf63154bdd2ffea46c6e67a.tar.bz2
hourglass-6dc875e136b4ab418cf63154bdd2ffea46c6e67a.zip
gyro: Replace (broken) angle with ticks
Diffstat (limited to 'gyro.h')
-rw-r--r--gyro.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gyro.h b/gyro.h
index 3a8ad10..a3f62f7 100644
--- a/gyro.h
+++ b/gyro.h
@@ -7,9 +7,10 @@
void gyroInit ();
void gyroStart ();
bool gyroProcess ();
-void gyroResetAngle ();
-const int16_t *gyroGetAngle ();
+void gyroResetAccum ();
+const int32_t *gyroGetAccum ();
volatile const int16_t *gyroGetRaw ();
+const int8_t gyroGetZTicks ();
#endif /* GYROSCOPE_H */