From b2b2cd46c18d7c87dcd5bd3e69f6151ea0b43fe2 Mon Sep 17 00:00:00 2001 From: maxxir Date: Mon, 21 Jan 2019 21:39:17 +0400 Subject: [PATCH] Fix some minor typos --- 03_m1284p_WIZNET_loopback_FATFS_template/main.c | 4 ++-- 03_m1284p_WIZNET_loopback_STATIC_IP/main.c | 4 ++-- 05_m1284p_WIZNET_DNS_client/main.c | 4 ++-- 06_m1284p_WIZNET_DNS_SNTP_client/main.c | 4 ++-- 07_m1284p_WIZNET_telnets_basic/main.c | 4 ++-- 09_m1284p_WIZNET_simple_webserver/main.c | 4 ++-- 10_m1284p_WIZNET_HTTPServer_RAM_pages/main.c | 4 ++-- 11_m1284p_WIZNET_HTTPServer_FLASH_pages/main.c | 4 ++-- 11_m644p_WIZNET_HTTPServer_FLASH_pages/main.c | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/03_m1284p_WIZNET_loopback_FATFS_template/main.c b/03_m1284p_WIZNET_loopback_FATFS_template/main.c index 8aaea2f..27e6564 100644 --- a/03_m1284p_WIZNET_loopback_FATFS_template/main.c +++ b/03_m1284p_WIZNET_loopback_FATFS_template/main.c @@ -30,7 +30,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -38,7 +38,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif /* diff --git a/03_m1284p_WIZNET_loopback_STATIC_IP/main.c b/03_m1284p_WIZNET_loopback_STATIC_IP/main.c index 26c5b3f..4e4266e 100644 --- a/03_m1284p_WIZNET_loopback_STATIC_IP/main.c +++ b/03_m1284p_WIZNET_loopback_STATIC_IP/main.c @@ -30,7 +30,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -38,7 +38,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif diff --git a/05_m1284p_WIZNET_DNS_client/main.c b/05_m1284p_WIZNET_DNS_client/main.c index 67bb14b..f779fa9 100644 --- a/05_m1284p_WIZNET_DNS_client/main.c +++ b/05_m1284p_WIZNET_DNS_client/main.c @@ -229,7 +229,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -237,7 +237,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif void cs_sel() { SPI_WIZNET_ENABLE(); diff --git a/06_m1284p_WIZNET_DNS_SNTP_client/main.c b/06_m1284p_WIZNET_DNS_SNTP_client/main.c index 9bbafa0..443243f 100644 --- a/06_m1284p_WIZNET_DNS_SNTP_client/main.c +++ b/06_m1284p_WIZNET_DNS_SNTP_client/main.c @@ -66,7 +66,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else uint8_t DNS_2nd[4] = {192, 168, 1, 1}; // Secondary DNS server IP //NIC metrics for another PC (second IP configuration) @@ -75,7 +75,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif //*********Global vars diff --git a/07_m1284p_WIZNET_telnets_basic/main.c b/07_m1284p_WIZNET_telnets_basic/main.c index 7ba2fd7..3bf2f56 100644 --- a/07_m1284p_WIZNET_telnets_basic/main.c +++ b/07_m1284p_WIZNET_telnets_basic/main.c @@ -27,7 +27,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -35,7 +35,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif //#include // itoa etc.. /* diff --git a/09_m1284p_WIZNET_simple_webserver/main.c b/09_m1284p_WIZNET_simple_webserver/main.c index 32e50f2..9a1891d 100644 --- a/09_m1284p_WIZNET_simple_webserver/main.c +++ b/09_m1284p_WIZNET_simple_webserver/main.c @@ -44,7 +44,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -52,7 +52,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif /* diff --git a/10_m1284p_WIZNET_HTTPServer_RAM_pages/main.c b/10_m1284p_WIZNET_HTTPServer_RAM_pages/main.c index bc4478b..c1f8f68 100644 --- a/10_m1284p_WIZNET_HTTPServer_RAM_pages/main.c +++ b/10_m1284p_WIZNET_HTTPServer_RAM_pages/main.c @@ -70,7 +70,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -78,7 +78,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif //*********Program metrics diff --git a/11_m1284p_WIZNET_HTTPServer_FLASH_pages/main.c b/11_m1284p_WIZNET_HTTPServer_FLASH_pages/main.c index 927b04c..af8508b 100644 --- a/11_m1284p_WIZNET_HTTPServer_FLASH_pages/main.c +++ b/11_m1284p_WIZNET_HTTPServer_FLASH_pages/main.c @@ -110,7 +110,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -118,7 +118,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif //*********Program metrics diff --git a/11_m644p_WIZNET_HTTPServer_FLASH_pages/main.c b/11_m644p_WIZNET_HTTPServer_FLASH_pages/main.c index 4c9f75a..f646d5e 100644 --- a/11_m644p_WIZNET_HTTPServer_FLASH_pages/main.c +++ b/11_m644p_WIZNET_HTTPServer_FLASH_pages/main.c @@ -110,7 +110,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 0, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #else //NIC metrics for another PC (second IP configuration) wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address @@ -118,7 +118,7 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add .sn = {255, 255, 255, 0}, // Subnet mask .dns = {8,8,8,8}, // DNS address (google dns) .gw = {192, 168, 1, 1}, // Gateway address - .dhcp = NETINFO_STATIC}; //Dynamic IP configuration from a DHCP sever + .dhcp = NETINFO_STATIC}; //Static IP configuration #endif //*********Program metrics