small tweak

This commit is contained in:
Robin Müller 2021-09-23 15:22:27 +02:00
parent c9b343ebcd
commit 350fbc385c
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ bool PeriodicOperationDivider::checkAndIncrement() {
bool opNecessary = check();
if(opNecessary) {
if(resetAutomatically) {
counter = 0;
resetCounter();
}
}
return opNecessary;