mirror of https://github.com/ARMmbed/mbed-os.git
Watchdog: fix timeout - use full range for watchdog
parent
659e5051f3
commit
4bcdd435ab
|
@ -51,7 +51,7 @@ namespace mbed {
|
||||||
*/
|
*/
|
||||||
class Watchdog : private NonCopyable<Watchdog> {
|
class Watchdog : private NonCopyable<Watchdog> {
|
||||||
public:
|
public:
|
||||||
static const uint32_t watchdog_timeout = MBED_CONF_TARGET_WATCHDOG_TIMEOUT / 2;
|
static const uint32_t watchdog_timeout = MBED_CONF_TARGET_WATCHDOG_TIMEOUT;
|
||||||
|
|
||||||
/** As Watchdog might not stop ever, there is just one instance - we use single instance.
|
/** As Watchdog might not stop ever, there is just one instance - we use single instance.
|
||||||
* This ensures we keep Watchdog alive. To operate watchdog, use start/stop methods.
|
* This ensures we keep Watchdog alive. To operate watchdog, use start/stop methods.
|
||||||
|
|
Loading…
Reference in New Issue