aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-test.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-04-29 15:44:20 -0400
committerPaul Selkirk <paul@psgd.org>2017-04-29 15:44:20 -0400
commit14282a9a1aaa1c67c11dde50086d87371ac5d6b9 (patch)
tree111e1b2390ed51f4f3070258da5123548af0170c /projects/cli-test/mgmt-test.c
parent4a69b83e6c28aebec5dc2733e0cc20407b5d56e7 (diff)
Port cli-test to the new task API.
Diffstat (limited to 'projects/cli-test/mgmt-test.c')
-rw-r--r--projects/cli-test/mgmt-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/cli-test/mgmt-test.c b/projects/cli-test/mgmt-test.c
index 59f0b6e..54021a5 100644
--- a/projects/cli-test/mgmt-test.c
+++ b/projects/cli-test/mgmt-test.c
@@ -37,6 +37,7 @@
#include "stm-sdram.h"
#include "stm-fmc.h"
#include "stm-fpgacfg.h"
+#include "task.h"
#include "mgmt-cli.h"
#include "mgmt-test.h"
@@ -131,7 +132,7 @@ static int cmd_test_fmc(struct cli_def *cli, const char *command, char *argv[],
led_on(LED_BLUE);
while (! fpgacfg_check_done()) {
for (i = 0; i < 4; i++) {
- HAL_Delay(500);
+ task_delay(500);
led_toggle(LED_BLUE);
}
}