Skip to content

Commit c02762d

Browse files
committed
uart: let gcc decide if function should be inlined
1 parent 4a680a0 commit c02762d

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
@@ -214,7 +214,7 @@ void uart_stop_isr(uart_t* uart)
214214
ETS_UART_INTR_ATTACH(NULL, NULL);
215215
}
216216

217-
inline void uart_do_write_char(uart_t* uart, char c)
217+
static void uart_do_write_char(uart_t* uart, char c)
218218
{
219219
while((USS(uart->uart_nr) >> USTXC) >= 0x7f);
220220
USF(uart->uart_nr) = c;

0 commit comments

Comments
 (0)