fix SDK 1.5 not building in recent gcc (update to SDK 2.1)

This commit is contained in:
Sergio R. Caprile committed 2025-01-27 14:26:11 -03:00
1 parent 2f8e15a900
commit ed79fe86aa
5 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ int hal_led_pin(void) {
static struct mg_tcpip_if *s_ifp;
const uint8_t tud_network_mac_address[6] = {2, 2, 0x84, 0x6A, 0x96, 0};
uint8_t tud_network_mac_address[6] = {2, 2, 0x84, 0x6A, 0x96, 0};
bool tud_network_recv_cb(const uint8_t *buf, uint16_t len) {
mg_tcpip_qwrite((void *) buf, len, s_ifp);