aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
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
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')
-rw-r--r--wirish/main.cxx18
-rw-r--r--wirish/wirish.c2
2 files changed, 0 insertions, 20 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)
- * */
diff --git a/wirish/wirish.c b/wirish/wirish.c
index 5102124..3cfc12e 100644
--- a/wirish/wirish.c
+++ b/wirish/wirish.c
@@ -43,5 +43,3 @@ void init(void) {
timer_init(3, 1);
timer_init(4, 1);
}
-
-