Mark these test module with warning.
[bertos.git] / bertos / drv / lcd_hd44_test.c
index 65107b8549d6a9512298e25e87a4f431b66eaa42..a84c156ce51b0523aa5cf9b4dfe75f655a0df4f6 100644 (file)
@@ -39,8 +39,6 @@
 
 #include "hw_lcd.h"
 
-#include <cfg/arch_config.h>
-
 #include <drv/timer.h>
 #include <drv/lcd_hd44.h>
 
@@ -76,6 +74,11 @@ void lcd_hw_test(void)
 }
 
 
+#ifdef _TEST
+
+#include <drv/timer.c>
+#include <drv/lcd_hd44.c>
+
 int main(void)
 {
                lcd_hw_test();
@@ -86,3 +89,5 @@ int main(void)
 
                return 0;
 }
+
+#endif