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 ------------------ 1 file changed, 18 deletions(-) (limited to 'wirish/main.cxx') 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) - * */ -- cgit v1.2.3