Skip to content

Commit b02b98f

Browse files
committed
fix PROGMEM str declaration (ld section conflics)
1 parent fc50a68 commit b02b98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ inline size_t uart_rx_fifo_available(uart_t* uart) {
103103
return (USS(uart->uart_nr) >> USRXC) & 0x7F;
104104
}
105105

106-
char overrun_str [] ICACHE_RODATA_ATTR STORE_ATTR = "uart input full!\r\n";
106+
const char overrun_str [] ICACHE_RODATA_ATTR STORE_ATTR = "uart input full!\r\n";
107107

108108
// Copy all the rx fifo bytes that fit into the rx buffer
109109
inline void uart_rx_copy_fifo_to_buffer(uart_t* uart) {

0 commit comments

Comments
 (0)