Skip to content
Snippets Groups Projects
Commit 93355d68 authored by Federico's avatar Federico
Browse files

Remove obsolete check, csRecord was removed long ago

parent 4e9186cc
No related branches found
No related tags found
2 merge requests!40Update to Miosix 2.7,!17Draft: Improved miosix build system and fixed cmake scripts
...@@ -309,7 +309,6 @@ bool IRQwakeThreads(long long currentTime) ...@@ -309,7 +309,6 @@ bool IRQwakeThreads(long long currentTime)
for(auto it=sleepingList.begin();it!=sleepingList.end();) for(auto it=sleepingList.begin();it!=sleepingList.end();)
{ {
if(currentTime<(*it)->wakeupTime) break; if(currentTime<(*it)->wakeupTime) break;
if((*it)->thread==nullptr) ++it; //Only csRecord has p==nullptr
else { else {
(*it)->thread->flags.IRQsetSleep(false); //Wake thread (*it)->thread->flags.IRQsetSleep(false); //Wake thread
//Reset cond wait flag to wakeup threads in pthread_cond_timedwait() too //Reset cond wait flag to wakeup threads in pthread_cond_timedwait() too
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment