From e7b8a60660d1e8380e73952742de796a6b1e3528 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 5 Apr 2022 17:16:59 -0700 Subject: Move declaration to header --- include/usr/test.h | 8 ++++++++ usr/main.c | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 include/usr/test.h diff --git a/include/usr/test.h b/include/usr/test.h new file mode 100644 index 0000000..582c06f --- /dev/null +++ b/include/usr/test.h @@ -0,0 +1,8 @@ +#ifndef USR_TEST_H +#define USR_TEST_H + +void delaytest(void); +void gptest(void); +void test_super(void); + +#endif \ No newline at end of file diff --git a/usr/main.c b/usr/main.c index 579b5e4..2b2c97b 100644 --- a/usr/main.c +++ b/usr/main.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -17,10 +18,6 @@ static struct SysTimerInfo stime_3 = { .tick_rate = 10, .priority = 0, .arg = 0, static struct UartInfo UART_INFO = { .priority = 2, }; static struct GPIOInfo gpinfo = { .pin = (1<<16 | 1<<12), .priority = 0, }; -void delaytest(void); -void gptest(void); -void test_super(void); - void main(void) { // Runs the Core RTOS tests -- cgit v1.2.1