diff --git a/osal/rtems/MultiObjectTask.cpp b/osal/rtems/MultiObjectTask.cpp index b111f724..0cc3c922 100644 --- a/osal/rtems/MultiObjectTask.cpp +++ b/osal/rtems/MultiObjectTask.cpp @@ -62,12 +62,6 @@ void MultiObjectTask::taskFunctionality() { } rtems_status_code status = TaskBase::restartPeriod(periodTicks,periodId); if (status == RTEMS_TIMEOUT) { - char nameSpace[8] = { 0 }; - char* ptr = rtems_object_get_name(getId(), sizeof(nameSpace), - nameSpace); -#if FSFW_CPP_OSTREAM_ENABLED == 1 - sif::error << "ObjectTask: " << ptr << " Deadline missed." << std::endl; -#endif if (this->deadlineMissedFunc != nullptr) { this->deadlineMissedFunc(); } diff --git a/osal/rtems/TaskBase.cpp b/osal/rtems/TaskBase.cpp index 6abfcca8..7ad94b84 100644 --- a/osal/rtems/TaskBase.cpp +++ b/osal/rtems/TaskBase.cpp @@ -14,7 +14,7 @@ TaskBase::TaskBase(rtems_task_priority set_priority, size_t stack_size, } //The task is created with the operating system's system call. rtems_status_code status = RTEMS_UNSATISFIED; - if (set_priority >= 0 && set_priority <= 99) { + if (set_priority <= 99) { status = rtems_task_create(osalName, (0xFF - 2 * set_priority), stack_size, RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,