PicoTCP robustness Test

Dependencies:   PicoTCP lpc1768-picotcp-eth mbed-rtos mbed

Revision:
3:457043c6a3a6
Parent:
2:c0838e12f038
Child:
4:0406e4e7639f
--- a/main.cpp	Fri Jul 26 06:33:54 2013 +0000
+++ b/main.cpp	Thu Jan 16 14:23:00 2014 +0000
@@ -129,7 +129,7 @@
     // attempt DHCP and if timing out then try again
     while (eth.connect()) {
         retries++;
-        printf("[%d] DHCP timeout %d\n",PICO_TIME_MS(),retries);
+        printf("[%llu] DHCP timeout %d\n",PICO_TIME_MS(),retries);
         if(retries >= DHCP_RETRIES)
         {
             printf("DHCP failed. Bailing out..\n");
@@ -137,7 +137,7 @@
         }
     };
     
-    printf("[%d] Starting the robustness test...\n",PICO_TIME_MS());
+    printf("[%llu] Starting the robustness test...\n",PICO_TIME_MS());
     
     while(1) 
     {