diff options
author | AlejandroColomar <colomar.6.4.3@gmail.com> | 2019-01-17 04:38:41 +0100 |
---|---|---|
committer | AlejandroColomar <colomar.6.4.3@gmail.com> | 2019-01-17 04:38:41 +0100 |
commit | 2d3860d3d47ee4121107785d6cc3dc65b95b442e (patch) | |
tree | 3b03b8043d2cc62f5127778cd47e258b7cf57a05 | |
parent | c9780202d8452f7e7ef4b52782f0143d5b23bbc6 (diff) |
Add tests using delay_it
-rwxr-xr-x | src/test.c | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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; } |