From 350fbc385cedae73ea2396dafdeb5b74b28be74d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Sep 2021 15:22:27 +0200 Subject: [PATCH] small tweak --- src/fsfw/globalfunctions/PeriodicOperationDivider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fsfw/globalfunctions/PeriodicOperationDivider.cpp b/src/fsfw/globalfunctions/PeriodicOperationDivider.cpp index ffba7574d..98f83d04d 100644 --- a/src/fsfw/globalfunctions/PeriodicOperationDivider.cpp +++ b/src/fsfw/globalfunctions/PeriodicOperationDivider.cpp @@ -11,7 +11,7 @@ bool PeriodicOperationDivider::checkAndIncrement() { bool opNecessary = check(); if(opNecessary) { if(resetAutomatically) { - counter = 0; + resetCounter(); } } return opNecessary;