Robert Konklewski
9a731c83dc
watchdog.c: fix compilation with module enabled.
...
There was a linker error regarding missing MASK function, which
is actually a macro defined in 'pinio.h'. After #including the
file, problem disappeared.
2016-04-14 22:51:22 +02:00
Markus Hitter
0c100fe5f8
According to avr-libc documentation, ISR() handles SREG its self.
2013-10-27 20:01:51 +01:00
Markus Hitter
7528037d4e
Save status register on each interrupt.
...
Costs 28 bytes binary size and two CPU cycles per interrupt,
at the advantage of getting rid of possible well hidden bugs.
2012-03-04 19:02:38 +01:00
Michael Moon
081b693341
extruder doesn't use serial.c, update watchdog.c to suit
2011-03-24 10:51:57 +11:00
Michael Moon
0dc7d77885
Massive Doxygen documentation addition
...
'make doc' then point your browser at doc/html/
Needs plenty of cleanup and polishing, but the main bulk is here
even documents your configuration! ;)
2011-03-22 01:34:36 +11:00
Markus Hitter
f29c675fcc
Wrap the watchdog in #ifdefs and disable it for now. My poor imagination
...
can't think of a situation where resetting the controller in the middle
of a build would be useful. Even hanging ist better :-/
The difference in program size is just 238 bytes.
2010-10-02 16:15:29 +02:00
Michael Moon
595b66a341
setting up new branch 2
2010-08-10 14:26:24 +10:00