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. --- examples/blinky.cpp | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'examples/blinky.cpp') diff --git a/examples/blinky.cpp b/examples/blinky.cpp index 8a8b0d8..e156bf2 100644 --- a/examples/blinky.cpp +++ b/examples/blinky.cpp @@ -23,20 +23,10 @@ * ****************************************************************************/ /** - * @file example_main_blinky.cpp - * - * @brief Example main.cpp. Blinks the LED, pin 13 + * @brief blinky.cpp. Blinks the LED, pin 13 */ -#ifndef _EXAMPLE_MAIN_BLINKY_H_ -#define _EXAMPLE_MAIN_BLINKY_H_ - -#endif -#include "wiring.h" -#include "HardwareSerial.h" -#include "wiring_math.h" -#include "HardwareUsb.h" -#include "usb.h" +#include "wirish.h" #define TEST_PIN 13 @@ -61,11 +51,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) - ; -} -- cgit v1.2.3