rcinput: disable timer debug messages

This commit is contained in:
Stefan Seyfried
2017-09-23 23:45:22 +02:00
committed by Jacek Jendrzej
parent 8a243ea12e
commit 9425caa6e5

View File

@@ -469,7 +469,7 @@ int CRCInput::addTimer(uint64_t Interval, bool oneshot, bool correct_time )
_newtimer.correct_time = correct_time; _newtimer.correct_time = correct_time;
printf("adding timer %d (0x%llx, 0x%llx)\n", _newtimer.id, _newtimer.times_out, Interval); //printf("adding timer %d (0x%" PRIx64 ", 0x%" PRIx64 ")\n", _newtimer.id, _newtimer.times_out, Interval);
std::vector<timer>::iterator e; std::vector<timer>::iterator e;
for ( e= timers.begin(); e!= timers.end(); ++e ) for ( e= timers.begin(); e!= timers.end(); ++e )
@@ -482,7 +482,7 @@ printf("adding timer %d (0x%llx, 0x%llx)\n", _newtimer.id, _newtimer.times_out,
void CRCInput::killTimer(uint32_t &id) void CRCInput::killTimer(uint32_t &id)
{ {
printf("killing timer %d\n", id); //printf("killing timer %d\n", id);
if(id == 0) if(id == 0)
return; return;