removed debug outpuzt for missed deadline

This commit is contained in:
Robin Müller 2020-09-29 14:27:31 +02:00
parent 1691d63169
commit 224248dfa1
2 changed files with 0 additions and 13 deletions

View File

@ -150,15 +150,6 @@ void FixedTimeslotTask::handleMissedDeadline() {
if(deadlineMissedFunc != nullptr) { if(deadlineMissedFunc != nullptr) {
this->deadlineMissedFunc(); this->deadlineMissedFunc();
} }
#ifdef DEBUG
object_id_t handlerId = pst.current->handlerId;
sif::warning << "FixedTimeslotTask: " << pcTaskGetName(NULL) << " with"
<< " object ID 0x" << std::setfill('0') << std::setw(8) << std::hex
<< handlerId << " missed deadline!" << std::setfill(' ')
<< std::dec << std::endl;
#endif
} }
ReturnValue_t FixedTimeslotTask::sleepFor(uint32_t ms) { ReturnValue_t FixedTimeslotTask::sleepFor(uint32_t ms) {

View File

@ -136,8 +136,4 @@ void PeriodicTask::handleMissedDeadline() {
if(deadlineMissedFunc != nullptr) { if(deadlineMissedFunc != nullptr) {
this->deadlineMissedFunc(); this->deadlineMissedFunc();
} }
#ifdef DEBUG
sif::warning << "PeriodicTask::handleMissedDeadline " << pcTaskGetName(NULL)
<< " missed deadline!\n" << std::flush;
#endif
} }