projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Specific the directory for all hw and cfg module. Use double quote for cfg and hw...
[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..48ec04d4259e0d0c7e9b4ca762dddf75dee5dfbb 100644
(file)
--- a/
bertos/drv/lcd_hd44_test.c
+++ b/
bertos/drv/lcd_hd44_test.c
@@
-37,12
+37,11
@@
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
*/
-#include
<hw/hw_lcd.h>
+#include
"lcd_hd44.h"
-#include
<cfg/arch_config.h>
+#include
"hw/hw_lcd.h"
#include <drv/timer.h>
#include <drv/timer.h>
-#include <drv/lcd_hd44.h>
void lcd_hw_test(void)
{
void lcd_hw_test(void)
{
@@
-76,6
+75,11
@@
void lcd_hw_test(void)
}
}
+#ifdef _TEST
+
+#include <drv/timer.c>
+#include <drv/lcd_hd44.c>
+
int main(void)
{
lcd_hw_test();
int main(void)
{
lcd_hw_test();
@@
-86,3
+90,5
@@
int main(void)
return 0;
}
return 0;
}
+
+#endif