Skip to content

Commit 82adc27

Browse files
ulfalizergalak
authored andcommitted
drivers: watchdog: Rename CONFIG_WDT_SAM_DISABLE_AT_BOOT in comments
CONFIG_WDT_SAM_DISABLE_AT_BOOT was removed in commit 2e01e86 ("drivers: watchdog: wdt_sam: use the generic disable option"), but some comments still talked about it. Replace it with CONFIG_WDT_DISABLE_AT_BOOT. Signed-off-by: Ulf Magnusson <[email protected]>
1 parent 622e493 commit 82adc27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/watchdog/wdt_sam.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
* Note:
1111
* - Once the watchdog disable bit is set, it cannot be cleared till next
1212
* power reset, i.e, the watchdog cannot be started once stopped.
13-
* - Since the MCU boots with WDT enabled,the CONFIG_WDT_SAM_DISABLE_AT_BOOT
13+
* - Since the MCU boots with WDT enabled, the CONFIG_WDT_DISABLE_AT_BOOT
1414
* is set default at boot and watchdog module is disabled in the MCU for
1515
* systems that don't need watchdog functionality.
1616
* - If the application needs to use the watchdog in the system, then
17-
* CONFIG_WDT_SAM_DISABLE_AT_BOOT must be unset in the app's config file
17+
* CONFIG_WDT_DISABLE_AT_BOOT must be unset in the app's config file
1818
*/
1919

2020
#include <watchdog.h>

0 commit comments

Comments
 (0)