aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cxx')
-rw-r--r--src/main.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.cxx b/src/main.cxx
index 7734d6e..24b6483 100644
--- a/src/main.cxx
+++ b/src/main.cxx
@@ -9,6 +9,13 @@ int main(void)
return 0;
}
+/* Required for C++ hackery */
+/* TODO: This really shouldn't go here... move it later
+ * */
+extern "C" void __cxa_pure_virtual(void) {
+ while(1)
+ ;
+}
/* Implemented:
* void pinMode(pin, mode)