From 9e36bbc11ddb7a548a2b8705d87226f4a6d1c44c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 16 Aug 2021 11:02:36 +0200 Subject: [PATCH] small bugfix --- src/fsfw/osal/linux/Timer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fsfw/osal/linux/Timer.cpp b/src/fsfw/osal/linux/Timer.cpp index 899ca4a59..7b11e7d30 100644 --- a/src/fsfw/osal/linux/Timer.cpp +++ b/src/fsfw/osal/linux/Timer.cpp @@ -50,8 +50,6 @@ bool Timer::isSet() const { } void Timer::resetTimer() { - if(not this->set) { - set = false; - } + set = false; setTimer(0); }