summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/uart.c')
-rw-r--r--ports/esp32/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/uart.c b/ports/esp32/uart.c
index b82a638a5..863301143 100644
--- a/ports/esp32/uart.c
+++ b/ports/esp32/uart.c
@@ -37,7 +37,7 @@
#include "driver/uart.h" // For uart_get_sclk_freq()
#include "hal/uart_hal.h"
-STATIC void uart_irq_handler(void *arg);
+static void uart_irq_handler(void *arg);
// Declaring the HAL structure on the stack saves a tiny amount of static RAM
#define REPL_HAL_DEFN() { .dev = UART_LL_GET_HW(MICROPY_HW_UART_REPL) }
@@ -99,7 +99,7 @@ int uart_stdout_tx_strn(const char *str, size_t len) {
}
// all code executed in ISR must be in IRAM, and any const data must be in DRAM
-STATIC void IRAM_ATTR uart_irq_handler(void *arg) {
+static void IRAM_ATTR uart_irq_handler(void *arg) {
uint8_t rbuf[SOC_UART_FIFO_LEN];
int len;
uart_hal_context_t repl_hal = REPL_HAL_DEFN();