From b2da4a5722b168d7252adb1b2b20b0edcfe19adc Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Mon, 1 Jul 2019 14:07:09 +0100 Subject: [PATCH] VirtualWatchdog: add comment about exclusive access to Watchdog --- drivers/VirtualWatchdog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/VirtualWatchdog.h b/drivers/VirtualWatchdog.h index b78fa7dd31..ab9c354fe7 100644 --- a/drivers/VirtualWatchdog.h +++ b/drivers/VirtualWatchdog.h @@ -37,7 +37,8 @@ namespace mbed { /** \addtogroup drivers */ /** VirtualWatchdog should be used for applications where you use multiple services requiring watchdog functionality. - * Use `Watchdog` driver for simple uses cases like bootloader. + * Use `Watchdog` driver for simple uses cases like bootloader. Do not use both drivers at the same time - VirtualWatchdog will error + * if it is not the only owner of the watchdog. * * A system timer that will reset the system in the case of system failures or * malfunctions.