diff --git a/arch/risc-v/src/common/espressif/esp_lowputc.c b/arch/risc-v/src/common/espressif/esp_lowputc.c index b861fb69555..e8040dd2260 100644 --- a/arch/risc-v/src/common/espressif/esp_lowputc.c +++ b/arch/risc-v/src/common/espressif/esp_lowputc.c @@ -205,7 +205,7 @@ void esp_lowputc_enable_sysclk(const struct esp_uart_s *priv) * ****************************************************************************/ -void esp_lowputc_disable_all_uart_int(const struct esp_uart_s *priv, +void esp_lowputc_disable_all_uart_int(struct esp_uart_s *priv, uint32_t *current_status) { irqstate_t flags; diff --git a/arch/risc-v/src/common/espressif/esp_lowputc.h b/arch/risc-v/src/common/espressif/esp_lowputc.h index ebbbe878fc7..6a5db37fce6 100644 --- a/arch/risc-v/src/common/espressif/esp_lowputc.h +++ b/arch/risc-v/src/common/espressif/esp_lowputc.h @@ -127,7 +127,7 @@ void esp_lowputc_enable_sysclk(const struct esp_uart_s *priv); * ****************************************************************************/ -void esp_lowputc_disable_all_uart_int(const struct esp_uart_s *priv, +void esp_lowputc_disable_all_uart_int(struct esp_uart_s *priv, uint32_t *current_status); /****************************************************************************