mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Linux compiler error fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1097 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
700af355d4
commit
ebeffa4392
@ -44,7 +44,7 @@
|
||||
#define CHECK_TASK_RESUMES
|
||||
#define RUNNING_THREAD_MUTEX
|
||||
// #define TICK_SIGNAL
|
||||
#define TICK_SIGWAIT
|
||||
// #define TICK_SIGWAIT
|
||||
#define IDLE_SLEEPS
|
||||
|
||||
#define configUSE_PREEMPTION 1
|
||||
|
@ -656,9 +656,9 @@ pthread_t xTaskToSuspend;
|
||||
pthread_t xTaskToResume;
|
||||
tskTCB * oldTask, * newTask;
|
||||
|
||||
assert( SIG_TICK == sig );
|
||||
/* assert( SIG_TICK == sig );
|
||||
assert( prvGetThreadHandle( xTaskGetCurrentTaskHandle() ) != NULL );
|
||||
assert( pthread_self() != prvGetThreadHandle( xTaskGetCurrentTaskHandle() ) );
|
||||
assert( pthread_self() != prvGetThreadHandle( xTaskGetCurrentTaskHandle() ) ); */
|
||||
|
||||
debug_printf( "\r\n\r\n" );
|
||||
debug_printf( "(xInterruptsEnabled = %i, xServicingTick = %i)\r\n", (int) xInterruptsEnabled != 0, (int) xServicingTick != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user