A basic graphics package for the LPC4088 Display Module.

Dependents:   lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more

Fork of DMBasicGUI by EmbeddedArtists AB

Revision:
21:0038059e3a8f
Parent:
15:a68bb30ab95e
--- a/SlideShow/Renderer.cpp	Mon Mar 23 14:28:07 2015 +0100
+++ b/SlideShow/Renderer.cpp	Wed Oct 23 06:59:53 2019 +0000
@@ -199,13 +199,13 @@
 {
   //save this thread's ID so that it may be signalled from 
   //unregisterUser() and setFramebuffer()
-  threadId = Thread::gettid();
+  threadId = ThisThread::get_id();
     
   int mask = 1;//(1<<MaxNumLayers) - 1;
   while(true)
   {
-    osEvent ev = Thread::signal_wait(mask);
-    if (ev.status == osEventSignal) {
+    /*osEvent ev =*/ ThisThread::flags_wait_any(mask);
+    /*if (ev.status == osEventSignal) {*/
       setupMutex.lock();
       for (int i = 0; i < numRegisteredLayers; i++) {
         if (order[i]->activeData != order[i]->newData) {
@@ -262,6 +262,6 @@
         }
       }
       setupMutex.unlock();
-    }
+    /*}*/
   }
 }