Comply to new wdt interface.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 2 Dec 2008 15:12:41 +0000 (15:12 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 2 Dec 2008 15:12:41 +0000 (15:12 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1957 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/timer_test.c

index 2171db0662960795b58850a38e1ed26d6d5e962b..a7839f41ebac382d957914324cec75a38d963189 100644 (file)
@@ -131,7 +131,7 @@ static void timer_test_poll(void)
 int timer_testSetup(void)
 {
        IRQ_ENABLE;
-       wdt_init(7);
+       wdt_start(7);
        timer_init();
        kdbg_init();
        return 0;