Browse Source

Add main method

Thomas Buck 8 years ago
parent
commit
fc90cdbcb6
2 changed files with 17 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 16
    0
      src/main.c

+ 1
- 0
.gitignore View File

1
 .DS_Store
1
 .DS_Store
2
 *.o
2
 *.o
3
+build

+ 16
- 0
src/main.c View File

1
+/*
2
+ * main() method
3
+ */
4
+
5
+#include "spi.h"
6
+#include "timer.h"
7
+#include "rx.h"
8
+
9
+void main(void) {
10
+    timerInit();
11
+    spiInit();
12
+    rxInit();
13
+
14
+    for(;;) { }
15
+}
16
+

Loading…
Cancel
Save