Simple mbed library with macros

Dependents:   SimpleTimer SimpleUART SimpleTimer Stoppuhr1

Revision:
10:0f79cde3f231
Parent:
9:9cb955772c69
Child:
11:20e2539b6c2b
--- a/serial.h	Sat Nov 13 22:29:03 2010 +0000
+++ b/serial.h	Sat Nov 13 22:53:37 2010 +0000
@@ -99,7 +99,7 @@
 #define UART_PINSEL_VALUE     TOKENPASTE2(UART_NUMBER,_PINSEL_VALUE)
 
 // Interrupt handlers
-#define SERIAL_INTERRUPT_HANDLER extern "C" void __irq TOKENPASTE2(UART_NUMBER,_IRQHandler)
+#define SERIAL_INTERRUPT_HANDLER EXTERN_C void __irq TOKENPASTE2(UART_NUMBER,_IRQHandler)
 
 /** Bits **/
 // RBR Interrupt Enable (UnIER, 14.4.4 p302)