diff options
author | David Lamparter <equinox@diac24.net> | 2012-09-22 23:02:15 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-09-22 23:02:15 +0200 |
commit | 6966eb287f160c68c597105e60b191806a63b9ba (patch) | |
tree | 1f91368d1dd2dc5009322a7a7910e5da49d08773 /door.c | |
parent | 415ca2037b3cefc64ee59279950fe85fa679e3cd (diff) |
can: handle interrupt asynchronously
Diffstat (limited to 'door.c')
-rw-r--r-- | door.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -107,10 +107,6 @@ int main(void) TCCR1B = (1 << WGM12) | (1 << CS11); while (1) { - if (canint) { - canint = false; - can_int(); - } _delay_ms(1); } } |