jancoow 9 жил өмнө
parent
commit
51ba1a4f41
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      main.c
  2. 1 1
      network.c

+ 1 - 1
main.c

@@ -273,7 +273,7 @@ int main(void)
 
 
     NetworkInit();
     NetworkInit();
 
 
-    NtpInit();
+    //NtpInit();
 	/*
 	/*
 	 * Kroeske: sources in rtc.c en rtc.h
 	 * Kroeske: sources in rtc.c en rtc.h
 	 */
 	 */

+ 1 - 1
network.c

@@ -21,6 +21,6 @@ void NetworkInit() {
     else if (NutDhcpIfConfig(DEV_ETHER_NAME, NULL, 0)) {
     else if (NutDhcpIfConfig(DEV_ETHER_NAME, NULL, 0)) {
         /* Done. */
         /* Done. */
     }else {
     }else {
-        printf("Now try 'ping %s' on your PC.\n", inet_ntoa(confnet.cdn_ip_addr));
+        printf("Ik heb een internet connectie. Ip is: %s", inet_ntoa(confnet.cdn_ip_addr));
     }
     }
 }
 }