aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/usr/test.h8
-rw-r--r--usr/main.c5
2 files changed, 9 insertions, 4 deletions
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 <usr/cxx.h>
#include <usr/math.h>
#include <usr/string.h>
+#include <usr/test.h>
#include <usr/timed.h>
#include <usr/uart.h>
@@ -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