From 31881e1dd3bee0ff04f3a46742d8f260210f8c29 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 2 Jan 2011 14:58:51 +0000 Subject: Updated the various serial drivers with the new queue callbacks. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2573 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/MSP430/serial_lld.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/MSP430/serial_lld.c') diff --git a/os/hal/platforms/MSP430/serial_lld.c b/os/hal/platforms/MSP430/serial_lld.c index 35ecc4b44..633107412 100644 --- a/os/hal/platforms/MSP430/serial_lld.c +++ b/os/hal/platforms/MSP430/serial_lld.c @@ -77,8 +77,9 @@ static void set_error(SerialDriver *sdp, uint8_t urctl) { } #if USE_MSP430_USART0 || defined(__DOXYGEN__) -static void notify1(void) { +static void notify1(GenericQueue *qp) { + (void)qp; if (!(U0IE & UTXIE0)) { msg_t b = sdRequestDataI(&SD1); if (b != Q_EMPTY) { @@ -121,8 +122,9 @@ static void usart0_deinit(void) { #endif /* USE_MSP430_USART0 */ #if USE_MSP430_USART1 || defined(__DOXYGEN__) -static void notify2(void) { +static void notify2(GenericQueue *qp) { + (void)qp; if (!(U1IE & UTXIE1)) { msg_t b = sdRequestDataI(&SD2); if (b != Q_EMPTY) { -- cgit v1.2.3