aboutsummaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-02-26 11:49:34 +0100
committerLars-Dominik Braun <lars@6xq.net>2014-02-26 11:49:34 +0100
commit85ec57bb6f545084426527ecc80269544b904067 (patch)
tree6aa0f1fd0a4ed8f4305d442ec83ec30698f22366 /timer.c
parentb89a708807c72c67b128aa3d684afdbd694f66bc (diff)
downloadhourglass-85ec57bb6f545084426527ecc80269544b904067.tar.gz
hourglass-85ec57bb6f545084426527ecc80269544b904067.tar.bz2
hourglass-85ec57bb6f545084426527ecc80269544b904067.zip
Add gyroscope abstraction layer
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/timer.c b/timer.c
index 5830b38..c78ebda 100644
--- a/timer.c
+++ b/timer.c
@@ -6,6 +6,8 @@
volatile unsigned char count = 0;
volatile unsigned char hit = 0;
+/* XXX: use high-res timer1 for doing this
+ */
ISR(TIMER0_OVF_vect) {
/* there seems to be no mode of operation which disconnects pin OC0A _and_
* clears the value */