diff options
Diffstat (limited to 'main.cpp.example')
-rw-r--r-- | main.cpp.example | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/main.cpp.example b/main.cpp.example index 1067030..ae63996 100644 --- a/main.cpp.example +++ b/main.cpp.example @@ -23,20 +23,15 @@ * ****************************************************************************/
/**
- * @file example_main.cpp
- *
* @brief Sample main.cpp file. Blinks an LED, sends a message out USART2
* and turns on PWM on pin 2
*/
-#include "wiring.h"
+#include "wirish.h"
#include "HardwareSerial.h"
#include "HardwareUsb.h"
-#include "math.h"
#include "usb.h"
-uint8 bytes_in;
-
#define LED_PIN 13
#define PWM_PIN 2
@@ -77,11 +72,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)
- ;
-}
|