renormalizing pull request step1
This commit is contained in:
parent
7ad5274803
commit
5eaf6cfd1f
@ -147,13 +147,18 @@ void FixedTimeslotTask::checkMissedDeadline(const TickType_t xLastWakeTime,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FixedTimeslotTask::handleMissedDeadline() {
|
void FixedTimeslotTask::handleMissedDeadline() {
|
||||||
#ifdef DEBUG
|
|
||||||
sif::warning << "FixedTimeslotTask: " << pcTaskGetName(NULL) <<
|
|
||||||
" missed deadline!\n" << std::flush;
|
|
||||||
#endif
|
|
||||||
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user