From: asterix Date: Thu, 5 Feb 2009 11:47:11 +0000 (+0000) Subject: Add wizard info for wdt. X-Git-Tag: 2.1.0~417 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b35b2945f819f3408d0e867f3227ba7d14222bf3;p=bertos.git Add wizard info for wdt. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2265 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_wdt.h b/bertos/cfg/cfg_wdt.h index 79a35d49..fd3ca9b4 100644 --- a/bertos/cfg/cfg_wdt.h +++ b/bertos/cfg/cfg_wdt.h @@ -40,7 +40,7 @@ #ifndef CFG_WDT_H #define CFG_WDT_H -/// Enable watchdog timer. +/// Enable watchdog timer. $WIZARD = { "type" : "boolean" } #define CONFIG_WATCHDOG 0 #endif /* CFG_WDT_H */ diff --git a/bertos/drv/wdt.h b/bertos/drv/wdt.h index 8d15733a..2e2a4c81 100644 --- a/bertos/drv/wdt.h +++ b/bertos/drv/wdt.h @@ -35,13 +35,17 @@ * \author Bernie Innocenti * * \brief Watchdog interface + * $WIZARD_MODULE = { + * "name" : "wdt", + * "depends" : [], + * "configuration" : "bertos/cfg/cfg_wdt.h" + * } */ #ifndef DRV_WDT_H #define DRV_WDT_H #include "cfg/cfg_wdt.h" -#include "cfg/cfg_arch.h" #include // INLINE