Revision 1543
Added a bunch of debug prints to the library
reset.c | ||
---|---|---|
51 | 51 |
* and Status Register (MCUCSR). |
52 | 52 |
**/ |
53 | 53 |
void reset(void) { |
54 |
|
|
55 |
DRAGONFLY_DEBUG_PRINT("System going down for reboot now!\r\n"); |
|
56 |
|
|
54 | 57 |
WDTCR &= 0xF8; |
55 | 58 |
WDTCR |= 0x08; |
56 | 59 |
_delay_ms(15); |
Also available in: Unified diff