Demonstrates data corruption due to a race condition updated for mbed os 5.4

Fork of Task614-mbedos54 by Stage-1 Students SoCEM

Revision:
1:8c6ec9de7688
Parent:
0:f916cefba2f4
Child:
2:7e77fec81f7d
--- a/main.cpp	Tue Mar 08 11:43:39 2016 +0000
+++ b/main.cpp	Tue Mar 08 12:11:18 2016 +0000
@@ -20,10 +20,6 @@
 DigitalIn  SW1(D4);
 DigitalIn  SW2(D3);
 
-//Thread object references
-Thread* t1;
-Thread* t2;
-
 //Thread ID for the Main function (CMSIS API)
 osThreadId tidMain;