diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-04-29 01:14:03 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-04-29 01:14:03 -0400 |
commit | b5ddce7dc81a0ae313cce635bce02028db32d5de (patch) | |
tree | ea67f3f0c3c288c3c0e4b31454e54cb016a9b1b0 /wirish | |
parent | 2c51cc19ccb5c08eb4d89d197623da6cd92b35f7 (diff) | |
download | librambutan-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.cxx | 18 | ||||
-rw-r--r-- | wirish/wirish.c | 2 |
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); } - - |