4180 Final

Dependencies:   mbed wave_player mbed-rtos 4180Final SDFileSystem

Revision:
21:3421fe64e28c
Parent:
20:a46d5d9c21cd
Child:
22:c16a3669c707
--- a/main.cpp	Wed Apr 29 22:19:45 2020 +0000
+++ b/main.cpp	Wed Apr 29 23:08:51 2020 +0000
@@ -1,3 +1,8 @@
+    
+
+#define OS_MAINSTKSIZE          8000
+
+
 #include "mbed.h"
 #include "uLCD_4DGL.h"
 #include "Nav_Switch.h"
@@ -563,8 +568,7 @@
                 lcd_mutex.unlock();
                 t1.terminate();
                 t2.terminate();
-                t1.join();
-                t2.join();
+                
                 t3.join();
                
                 stopLedStrip = false;
@@ -581,8 +585,7 @@
                     stopLedStrip = true; // wait for ledstrip to recieve last frame before termianting thread
                     t1.terminate();
                     t2.terminate();
-                    t1.join();
-                    t2.join();
+                    
                     t3.join();
                     myled = 0;
                     lcd_mutex.unlock();