-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
wdtStarted
is set to true in TheThingsNode::WDT_start()
, but in TheThingsNode::WDT_stop()
, not set to false.
arduino-node-lib/src/TheThingsNode.cpp
Lines 874 to 889 in 124b482
void TheThingsNode::WDT_stop() | |
{ | |
if (!this->wdtStarted) | |
{ | |
return; | |
} | |
cli(); | |
MCUSR &= ~(1 << WDRF); | |
WDTCSR |= (1 << WDCE) | (1 << WDE); | |
WDTCSR = 0x00; | |
WDTCSR = 0 << WDP0 | 1 << WDP1 | 0 << WDP2 | 0 << WDP3; | |
sei(); | |
this->wdtStarted = true; | |
} |
Metadata
Metadata
Assignees
Labels
No labels