From b5ddce7dc81a0ae313cce635bce02028db32d5de Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Thu, 29 Apr 2010 01:14:03 -0400 Subject: Fixed examples, added spi example, moved pure virtual function handler out of main to cxxabi-compat.cpp. --- wirish/main.cxx | 18 ------------------ wirish/wirish.c | 2 -- 2 files changed, 20 deletions(-) (limited to 'wirish') 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); } - - -- cgit v1.2.3