Simplified version with classic style

Revision:
3:13a75fd3a983
Parent:
1:d78c639f6b65
Child:
5:4ac5e3650110
diff -r 2877e096c363 -r 13a75fd3a983 main.cpp
--- a/main.cpp	Thu Sep 26 12:00:11 2019 +0100
+++ b/main.cpp	Mon Oct 28 12:00:09 2019 +0000
@@ -14,6 +14,6 @@
     while (true)
     {
         led1 = !led1;
-        wait_ms(WAIT_TIME);
+        thread_sleep_for(WAIT_TIME);
     }
 }