mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-09 17:25:00 +00:00
cc2538: uart: Make uart_isr() static
This function is only supposed to be used by uart.c, so it should be static. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
@@ -359,7 +359,7 @@ uart_write_byte(uint8_t uart, uint8_t b)
|
|||||||
REG(uart_base + UART_DR) = b;
|
REG(uart_base + UART_DR) = b;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
uart_isr(uint8_t uart)
|
uart_isr(uint8_t uart)
|
||||||
{
|
{
|
||||||
uint32_t uart_base;
|
uint32_t uart_base;
|
||||||
|
Reference in New Issue
Block a user