Simplified version with classic style

Revision:
3:13a75fd3a983
Parent:
1:d78c639f6b65
Child:
5:4ac5e3650110
--- 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);
     }
 }