aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC214x/serial_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/LPC214x/serial_lld.c')
-rw-r--r--os/hal/platforms/LPC214x/serial_lld.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/platforms/LPC214x/serial_lld.c b/os/hal/platforms/LPC214x/serial_lld.c
index a1db8c537..cec8f5c7a 100644
--- a/os/hal/platforms/LPC214x/serial_lld.c
+++ b/os/hal/platforms/LPC214x/serial_lld.c
@@ -120,7 +120,7 @@ static void set_error(SerialDriver *sdp, IOREG32 err) {
chSysUnlockFromIsr();
}
-#if defined(__GNU__)
+#if defined(__GNUC__)
__attribute__((noinline))
#endif
/**
@@ -128,7 +128,6 @@ __attribute__((noinline))
* @note Tries hard to clear all the pending interrupt sources, we dont want
* to go through the whole ISR and have another interrupt soon after.
*
- * @param[in] u pointer to an UART I/O block
* @param[in] sdp communication channel associated to the UART
*/
static void serve_interrupt(SerialDriver *sdp) {