Commit 0912d797 authored by Aurélien Delrieu's avatar Aurélien Delrieu

Merge branch 'fix_logs_rt' into dev

parents 82c30121 5692d6eb
......@@ -202,13 +202,11 @@ int32_t RtChannel::addTimerEvent(const string &name,
priority);
if(!event)
{
DFLTLOG(LEVEL_ERROR, "je suis la, %s\n", name.c_str());
this->reportError(true, "cannot create timer event\n");
return -1;
}
if(!this->addEvent((RtEvent *)event))
{
DFLTLOG(LEVEL_ERROR, "je suis la, %s\n", name.c_str());
return -1;
}
......@@ -489,7 +487,6 @@ bool RtChannel::raiseTimer(event_id_t id)
TimerEvent *event = this->getTimer(id);
if(!event)
{
DFLTLOG(LEVEL_ERROR, "je suis la\n");
this->reportError(false, "cannot find timer: should not happend here\n");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment