Skip to content

Commit 2e1be32

Browse files
committed
Fix undefined reference to os_free (#1522)
1 parent 1d14956 commit 2e1be32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void uart_uninit(uart_t* uart)
230230
break;
231231
}
232232

233-
os_free(uart);
233+
free(uart);
234234
}
235235

236236
void uart_swap(uart_t* uart, int tx_pin)

0 commit comments

Comments
 (0)