Watchdog: fix timeout - use full range for watchdog

pull/10857/head
Martin Kojtal 2019-06-28 10:50:49 +01:00
parent b822c09b3b
commit 9f48f26876
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace mbed {
*/
class Watchdog : private NonCopyable<Watchdog> {
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.
* This ensures we keep Watchdog alive. To operate watchdog, use start/stop methods.