diff --git a/cube/User/Src/wizHelper.c b/cube/User/Src/wizHelper.c index 5e2630a..51f76b6 100644 --- a/cube/User/Src/wizHelper.c +++ b/cube/User/Src/wizHelper.c @@ -120,8 +120,13 @@ int wizInit() { wizchip_setnetinfo(&netInfo); coloredMsg(LOG_RED, "wizI, netinfo set to Ethernet module"); - schAdd(wizDHCPHandler, NULL, 0, 100); - coloredMsg(LOG_RED, "wizI, DHCP handler scheduled"); + uint8_t buf[6]; + res = ctlwizchip(CW_GET_ID, (void*) buf); + coloredMsg(LOG_RED, "wizI, CW_GET_ID: %d %02x %02x %02x %02x %02x %02x", res, buf[0], buf[1], buf[2], buf[3], buf[4], buf[5]); + + + //schAdd(wizDHCPHandler, NULL, 0, 100); + //coloredMsg(LOG_RED, "wizI, DHCP handler scheduled"); return 0; }