diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-19 20:56:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-19 20:56:24 +0000 |
commit | b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8 (patch) | |
tree | 340e7d8434bd5937b3fe3203fa9d280e587b8783 /ports | |
parent | bd996b1663e9a10aad21ec395eab944a98f3a905 (diff) | |
download | ChibiOS-b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8.tar.gz ChibiOS-b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8.tar.bz2 ChibiOS-b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@648 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/MSP430/chcore.h | 2 | ||||
-rw-r--r-- | ports/MSP430/msp430_serial.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index ee184be53..1111118d7 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -157,7 +157,7 @@ struct context { /**
* IRQ handler function modifier.
*/
-#define PORT_IRQ_HANDLER(id) interrupt void id(void)
+#define PORT_IRQ_HANDLER(id) interrupt(id) _vect_##id(void)
/**
* This function is empty in this port.
diff --git a/ports/MSP430/msp430_serial.c b/ports/MSP430/msp430_serial.c index 58a44a076..81ef18c54 100644 --- a/ports/MSP430/msp430_serial.c +++ b/ports/MSP430/msp430_serial.c @@ -44,7 +44,7 @@ FullDuplexDriver COM1; static uint8_t ib1[SERIAL_BUFFERS_SIZE];
static uint8_t ob1[SERIAL_BUFFERS_SIZE];
-CH_IRQ_HANDLER(USART0TX_VECTOR) u0txirq(void) {
+CH_IRQ_HANDLER(USART0TX_VECTOR) {
msg_t b;
CH_IRQ_PROLOGUE();
@@ -60,7 +60,7 @@ CH_IRQ_HANDLER(USART0TX_VECTOR) u0txirq(void) { CH_IRQ_EPILOGUE();
}
-CH_IRQ_HANDLER(USART0RX_VECTOR) u0rxirq(void) {
+CH_IRQ_HANDLER(USART0RX_VECTOR) {
uint8_t urctl;
CH_IRQ_PROLOGUE();
@@ -116,7 +116,7 @@ FullDuplexDriver COM2; static uint8_t ib2[SERIAL_BUFFERS_SIZE];
static uint8_t ob2[SERIAL_BUFFERS_SIZE];
-CH_IRQ_HANDLER(USART1TX_VECTOR) u1txirq(void) {
+CH_IRQ_HANDLER(USART1TX_VECTOR) {
msg_t b;
CH_IRQ_PROLOGUE();
@@ -132,7 +132,7 @@ CH_IRQ_HANDLER(USART1TX_VECTOR) u1txirq(void) { CH_IRQ_EPILOGUE();
}
-CH_IRQ_HANDLER(USART1RX_VECTOR) u1rxirq(void) {
+CH_IRQ_HANDLER(USART1RX_VECTOR) {
uint8_t urctl;
CH_IRQ_PROLOGUE();
|