projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils: Add ScopeExit class
[senf.git]
/
PPI
/
IntervalTimer.cc
diff --git
a/PPI/IntervalTimer.cc
b/PPI/IntervalTimer.cc
index
f0dafd1
..
e4dff93
100644
(file)
--- a/
PPI/IntervalTimer.cc
+++ b/
PPI/IntervalTimer.cc
@@
-42,6
+42,8
@@
prefix_ void senf::ppi::IntervalTimer::v_enable()
{
+ if (eventsPerInterval_ <= 0)
+ return;
info_.intervalStart = manager().now();
info_.number = 0;
schedule();