aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-26 19:59:24 -0400
committerRob Austein <sra@hactrn.net>2017-04-26 19:59:24 -0400
commit0ced3ff3f64ca7ee0fc804d8f6dcfc89d2c5492f (patch)
tree65d362ea13a8ceb16986fe7c2f55777efd96a4c2 /projects/cli-test
parent410e6bb67fb5df5d0e4c962deac3e5562e5dc48f (diff)
Add support for hal_sleep().
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..397c304 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;
+/* Delay on bad PINs */
+void hal_sleep(const unsigned seconds) { osDelay(seconds * 1000); }
int
main()