From 0d646c4a2e2cf55d00820b2eb5192a59f0867b78 Mon Sep 17 00:00:00 2001 From: Desuuuu Date: Wed, 7 Apr 2021 14:44:13 +0200 Subject: [PATCH] rename irq handler on lpc176x --- src/lpc176x/t5uid1/serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lpc176x/t5uid1/serial.c b/src/lpc176x/t5uid1/serial.c index 3fe0573f..250ffe75 100644 --- a/src/lpc176x/t5uid1/serial.c +++ b/src/lpc176x/t5uid1/serial.c @@ -64,7 +64,7 @@ kick_tx(void) } void -UARTx_IRQHandler(void) +t5uid1_UARTx_IRQHandler(void) { uint32_t iir = LPC_UARTx->IIR, status = iir & 0x0f; if (status == 0x04) @@ -104,6 +104,6 @@ t5uid1_init(uint32_t baud) gpio_peripheral(GPIO_Tx, UARTx_FUNC, 0); // Enable receive irq - armcm_enable_irq(UARTx_IRQHandler, UARTx_IRQn, 0); + armcm_enable_irq(t5uid1_UARTx_IRQHandler, UARTx_IRQn, 0); LPC_UARTx->IER = 0x01; }