projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor FLASHAVR macro in FLASHAVR_CAST.
[bertos.git]
/
bertos
/
drv
/
lcd_hd44_test.c
diff --git
a/bertos/drv/lcd_hd44_test.c
b/bertos/drv/lcd_hd44_test.c
index 412e43e96fb011afa88c90d38400620396258c09..5c5ace45c524c3f9931dd54717af0d2bd0cc8c37 100644
(file)
--- a/
bertos/drv/lcd_hd44_test.c
+++ b/
bertos/drv/lcd_hd44_test.c
@@
-33,16
+33,18
@@
* \brief LM044L type LCD hardware module (impl.)
*
* \version $Id$
* \brief LM044L type LCD hardware module (impl.)
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
*/
-#include <hw/hw_lcd.h>
-
-#include <cfg/arch_config.h>
+#include "lcd_hd44.h"
+#include "hw/hw_lcd.h"
#include <drv/timer.h>
#include <drv/timer.h>
-#include <drv/lcd_hd44.h>
+
+#warning TODO:Refactor this test to comply whit BeRTOS test policy.
+
+#ifdef _TEST
void lcd_hw_test(void)
{
void lcd_hw_test(void)
{
@@
-76,6
+78,10
@@
void lcd_hw_test(void)
}
}
+
+#include <drv/timer.c>
+#include <drv/lcd_hd44.c>
+
int main(void)
{
lcd_hw_test();
int main(void)
{
lcd_hw_test();
@@
-86,3
+92,5
@@
int main(void)
return 0;
}
return 0;
}
+
+#endif