remove references to MIP in examples (comments)

This commit is contained in:
Sergio R. Caprile committed 2023-03-15 09:43:22 -03:00
1 parent 21dbfd79d8
commit 33a3fe9bbd
7 files changed
+8 -54

No files matched your search

+2 -2
View File
@@ -24,10 +24,10 @@ int main(void) {
stdio_init_all();
struct mg_mgr mgr; // Initialise Mongoose event manager
mg_mgr_init(&mgr); // and attach it to the MIP interface
mg_mgr_init(&mgr); // and attach it to the interface
mg_log_set(MG_LL_DEBUG); // Set log level
MG_INFO(("Init MIP"));
MG_INFO(("Init TCP/IP"));
// Initialise Mongoose network stack and specific driver
// Set consecutive GPIOs for RMII (tx and rx) and SMI function groups
struct mg_tcpip_driver_rp2040_rmii_data driver_data = {
+1 -1
View File
@@ -53,7 +53,7 @@ int main(void) {
stdio_init_all();
struct mg_mgr mgr; // Initialise Mongoose event manager
mg_mgr_init(&mgr); // and attach it to the MIP interface
mg_mgr_init(&mgr); // and attach it to the interface
mg_timer_add(&mgr, 500, MG_TIMER_REPEAT, blink_cb, &mgr);
struct mg_tcpip_driver driver = {.tx = usb_tx, .up = usb_up};