aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/main.cxx
diff options
context:
space:
mode:
authorPerry Hung <iperry@alum.mit.edu>2010-04-29 01:14:03 -0400
committerPerry Hung <iperry@alum.mit.edu>2010-04-29 01:14:03 -0400
commitb5ddce7dc81a0ae313cce635bce02028db32d5de (patch)
treeea67f3f0c3c288c3c0e4b31454e54cb016a9b1b0 /wirish/main.cxx
parent2c51cc19ccb5c08eb4d89d197623da6cd92b35f7 (diff)
downloadlibrambutan-b5ddce7dc81a0ae313cce635bce02028db32d5de.tar.gz
librambutan-b5ddce7dc81a0ae313cce635bce02028db32d5de.zip
Fixed examples, added spi example, moved pure virtual function handler
out of main to cxxabi-compat.cpp.
Diffstat (limited to 'wirish/main.cxx')
-rw-r--r--wirish/main.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/wirish/main.cxx b/wirish/main.cxx
index 440d464..d13e2eb 100644
--- a/wirish/main.cxx
+++ b/wirish/main.cxx
@@ -32,21 +32,3 @@ 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)
- * void digitalWrite(pin, value)
- * uint32_t digitalRead(pin)
- * uint32_t analogRead(pin)
- * void randomSeed(seed)
- * long random(max)
- * long random(min, max)
- * */