diff --git a/flight/PiOS.osx/osx/Libraries/FreeRTOS/Source/portable/GCC/Posix/port.c b/flight/PiOS.osx/osx/Libraries/FreeRTOS/Source/portable/GCC/Posix/port.c index 9a9a70735..1dcae9bf9 100644 --- a/flight/PiOS.osx/osx/Libraries/FreeRTOS/Source/portable/GCC/Posix/port.c +++ b/flight/PiOS.osx/osx/Libraries/FreeRTOS/Source/portable/GCC/Posix/port.c @@ -77,7 +77,7 @@ /*-----------------------------------------------------------*/ #ifndef __CYGWIN__ -// #define COND_SIGNALING + #define COND_SIGNALING // #define CHECK_TASK_RESUMES // #define RUNNING_THREAD_MUTEX #endif @@ -358,17 +358,9 @@ portLONG lIndex; /* Start the first task. Will not return unless all threads are killed. */ vPortStartFirstTask(); - int i = 0; usleep(1000000); while( pdTRUE != xSchedulerEnd ) { usleep(portTICK_RATE_MICROSECONDS); - i++; - if(i % 1000 == 0) { - printf("."); fflush(stdout); - } - while(xInterruptsEnabled == pdFALSE){ // Don't call while in interrupt - printf("."); fflush(stdout); - } vPortSystemTickHandler(SIG_TICK); }