summarylogtreecommitdiffstats
path: root/wpimain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wpimain.cpp')
-rw-r--r--wpimain.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/wpimain.cpp b/wpimain.cpp
new file mode 100644
index 00000000000..a2031210579
--- /dev/null
+++ b/wpimain.cpp
@@ -0,0 +1,18 @@
+
+
+#if ! defined(ARDUINO)
+extern void loop(void);
+extern void setup(void);
+
+int
+main(void)
+{
+ setup();
+ while (1) {
+ loop();
+ }
+ return 0;
+}
+
+#endif
+