Skip to content

Commit 86d4cd1

Browse files
committed
Change name of ISR
1 parent 56c10d2 commit 86d4cd1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cores/arduino/ard_sup/ap3_uart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Uart : public HardwareSerial
6767
uint32_t printf(const char *pcFmt, ...);
6868
using Print::write; // pull in write(str) and write(buf, size) from Print
6969

70-
void rx_isr(void);
70+
void uart_isr(void);
7171

7272
operator bool() { return true; } // todo: wait for a serial terminal to be open... probably depends on RTS or CTS...
7373

cores/arduino/ard_sup/uart/ap3_uart.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ ap3_err_t ap3_uart_pad_funcsel(uint8_t instance, ap3_uart_pad_type_e type, ap3_g
514514
// Interrupt handler for the UART.
515515
//
516516
//*****************************************************************************
517-
inline void Uart::rx_isr(void)
517+
inline void Uart::uart_isr(void)
518518
{
519519

520520
uint32_t ui32Status;
@@ -579,14 +579,14 @@ extern "C" void am_uart_isr(void)
579579
{
580580
if (ap3_uart_handles[0] != NULL)
581581
{
582-
ap3_uart_handles[0]->rx_isr();
582+
ap3_uart_handles[0]->uart_isr();
583583
}
584584
}
585585

586586
extern "C" void am_uart1_isr(void)
587587
{
588588
if (ap3_uart_handles[1] != NULL)
589589
{
590-
ap3_uart_handles[1]->rx_isr();
590+
ap3_uart_handles[1]->uart_isr();
591591
}
592592
}

0 commit comments

Comments
 (0)