UDP echo with thread

Revision:
6:06a897d0f950
Parent:
5:58fe518111d7
Child:
7:94dccd29cac9
--- a/main.cpp	Sat May 09 11:17:48 2020 +0000
+++ b/main.cpp	Fri Nov 26 17:47:31 2021 +0000
@@ -1,4 +1,4 @@
-#include "mbed.h" //MbedOS 5.15
+#include "mbed.h" //MbedOS 6.15
 #include "NetworkInterface.h"
 
 #define BUFFSIZE 50
@@ -81,10 +81,10 @@
 int main() { 
     printf("UDP echo starting...\n");
     thread.start(callback(udpEcho));
-    ThisThread::sleep_for(1000);
+    ThisThread::sleep_for(1s);
     
     while(1) {
         led1 =! led1;
-        ThisThread::sleep_for(1000);
+        ThisThread::sleep_for(1s);
     } 
 }  
\ No newline at end of file