Watchdog: fix timeout - use full range for watchdog

pull/11023/head
Martin Kojtal 2019-06-28 10:50:49 +01:00
parent 659e5051f3
commit 4bcdd435ab
1 changed files with 1 additions and 1 deletions

View File

@ -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.