From: asterix Date: Wed, 11 Jun 2008 17:13:08 +0000 (+0000) Subject: Mark these test as TODO. X-Git-Tag: 2.0.0~490 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=27544838f61b2d94ecdd609fbd5a76901acebfaa;p=bertos.git Mark these test as TODO. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1444 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/lcd_hd44_test.c b/bertos/drv/lcd_hd44_test.c index 48ec04d4..d01d01f4 100644 --- a/bertos/drv/lcd_hd44_test.c +++ b/bertos/drv/lcd_hd44_test.c @@ -38,11 +38,14 @@ */ #include "lcd_hd44.h" - #include "hw/hw_lcd.h" #include +#warning TODO:Refactor this test to comply whit BeRTOS test policy. + +#ifdef _TEST + void lcd_hw_test(void) { lcd_regWrite(LCD_CMD_SET_DDRAMADDR | 3); @@ -75,7 +78,6 @@ void lcd_hw_test(void) } -#ifdef _TEST #include #include diff --git a/bertos/drv/lcd_text_test.c b/bertos/drv/lcd_text_test.c index 1c4c81ae..fedde87e 100644 --- a/bertos/drv/lcd_text_test.c +++ b/bertos/drv/lcd_text_test.c @@ -38,7 +38,7 @@ * */ -#warning FIXME:This test is incomplete, you must review! +#warning TODO:This test is incomplete, you must review! #if 0 void lcd_test(void) diff --git a/bertos/drv/phase.c b/bertos/drv/phase.c index e88fd083..27ae92fe 100644 --- a/bertos/drv/phase.c +++ b/bertos/drv/phase.c @@ -50,8 +50,9 @@ #include -#warning FIXME:Generalize this moduele for all target supported. +#warning TODO:Generalize this moduele for all target supported. +#if 0 /** Array of triacs */ static Triac triacs[TRIAC_CNT]; @@ -191,3 +192,5 @@ void phase_init(void) DB(phase_initialized = true;) IRQ_RESTORE(flags); } +#endif + diff --git a/bertos/drv/timer_test.c b/bertos/drv/timer_test.c index 98412233..694d18c5 100644 --- a/bertos/drv/timer_test.c +++ b/bertos/drv/timer_test.c @@ -45,6 +45,8 @@ #warning TODO:Refactor this test to comply whit BeRTOS test policy. +#ifdef _TEST + static void timer_test_constants(void) { kprintf("TIMER_HW_HPTICKS_PER_SEC=%lu\n", TIMER_HW_HPTICKS_PER_SEC); @@ -127,7 +129,6 @@ static void timer_test_poll(void) } } -#ifdef _TEST #include "timer.c" #include "mware/event.c"