summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandroColomar <colomar.6.4.3@gmail.com>2019-01-17 04:38:41 +0100
committerAlejandroColomar <colomar.6.4.3@gmail.com>2019-01-17 04:38:41 +0100
commit2d3860d3d47ee4121107785d6cc3dc65b95b442e (patch)
tree3b03b8043d2cc62f5127778cd47e258b7cf57a05
parentc9780202d8452f7e7ef4b52782f0143d5b23bbc6 (diff)
Add tests using delay_it
-rwxr-xr-xsrc/test.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/test.c b/src/test.c
index 661fea0..8e27585 100755
--- a/src/test.c
+++ b/src/test.c
@@ -74,10 +74,19 @@
int test (void)
{
led_init();
- delay_us_init();
+#if 01
+ if (led_test_1()) {
+ return ERROR_NOK;
+ }
+#endif
+#if 01
+ if (led_test_2()) {
+ return ERROR_NOK;
+ }
+#endif
#if 0
- if (led_test()) {
+ if (led_test_3()) {
return ERROR_NOK;
}
#endif
@@ -87,7 +96,7 @@ int test (void)
#if 0
can_w_test();
#endif
-#if 1
+#if 0
if (servo_test_0()) {
return ERROR_NOK;
}