Rename mg_tcpip_spi to mg_spi and move it to flash.h

This commit is contained in:
cpq committed 2026-12-03 09:39:00 +00:00
1 parent 1d8c55c892
commit e7bfbf99fa
23 files changed
+104 -106

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ static void spi_txn(void *spi, uint8_t *tx, uint8_t *rx, size_t len) {
}
// SPI bus used by the W5500 driver, see MG_TCPIP_DRIVER_W5500_INIT
struct mg_tcpip_spi mg_spi = {NULL, spi_begin, spi_end, spi_txn};
struct mg_spi mg_spi = {NULL, spi_begin, spi_end, spi_txn};
static void ethernet_init(void) {
// Init SPI pins