summaryrefslogtreecommitdiff
path: root/door.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-09-22 23:02:15 +0200
committerDavid Lamparter <equinox@diac24.net>2012-09-22 23:02:15 +0200
commit6966eb287f160c68c597105e60b191806a63b9ba (patch)
tree1f91368d1dd2dc5009322a7a7910e5da49d08773 /door.c
parent415ca2037b3cefc64ee59279950fe85fa679e3cd (diff)
can: handle interrupt asynchronously
Diffstat (limited to 'door.c')
-rw-r--r--door.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/door.c b/door.c
index 8780e81..561289f 100644
--- a/door.c
+++ b/door.c
@@ -107,10 +107,6 @@ int main(void)
TCCR1B = (1 << WGM12) | (1 << CS11);
while (1) {
- if (canint) {
- canint = false;
- can_int();
- }
_delay_ms(1);
}
}