aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-30 10:37:39 -0400
committerRob Austein <sra@hactrn.net>2017-04-30 10:37:39 -0400
commit2791ee836b2e55076bc109cda19f5b686b6a97d6 (patch)
treefe73a43c7a0e297c0cc70da3820138b29d2b289d /projects/cli-test
parent73b784eac101085b8734d2188ae59b5295a80839 (diff)
parent99c8452187b2f99a92fbbea50ea1968d209b7c44 (diff)
Merge branch 'ksng' into no-rtos
Required minor manual intervention to resolve merge issues git had no way of understanding: git is clever, but not quite clever enough to understand that a commit in branch had removed the entire RTOS that a commit in the other branch was using. No big deal, just a couple of osDelay() calls needing conversion to HAL_Delay() or task_delay().
Diffstat (limited to 'projects/cli-test')
-rw-r--r--projects/cli-test/cli-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/cli-test/cli-test.c b/projects/cli-test/cli-test.c
index 17b85cd..c288257 100644
--- a/projects/cli-test/cli-test.c
+++ b/projects/cli-test/cli-test.c
@@ -50,6 +50,8 @@
/* MGMT UART interrupt receive buffer (data will be put in a larger ring buffer) */
volatile uint8_t uart_rx;
+/* Sleep for specified number of seconds -- used after bad PIN. */
+void hal_sleep(const unsigned seconds) { HAL_Delay(seconds * 1000); }
int
main()