* correction in serial_api.c

pull/1214/head
akhilpanayamparambil 2015-06-23 16:54:57 +05:30 committed by Karthik Purushothaman
parent 45be774f16
commit cbe768093d
1 changed files with 5 additions and 5 deletions

View File

@ -546,27 +546,27 @@ void uart0_irq()
void uart1_irq()
{
uart_irq((SercomUsart *)UART_1, 0);
uart_irq((SercomUsart *)UART_1, 1);
}
void uart2_irq()
{
uart_irq((SercomUsart *)UART_2, 0);
uart_irq((SercomUsart *)UART_2, 2);
}
void uart3_irq()
{
uart_irq((SercomUsart *)UART_3, 0);
uart_irq((SercomUsart *)UART_3, 3);
}
void uart4_irq()
{
uart_irq((SercomUsart *)UART_4, 0);
uart_irq((SercomUsart *)UART_4, 4);
}
void uart5_irq()
{
uart_irq((SercomUsart *)UART_5, 0);
uart_irq((SercomUsart *)UART_5, 5);
}
void serial_irq_handler(serial_t *obj, uart_irq_handler handler, uint32_t id)