Merge pull request 'call setTimeout in Countdown ctor' (#577) from eive/fsfw:mueller/countdown-improvement-upstream into development

Reviewed-on: fsfw/fsfw#577
This commit is contained in:
Steffen Gaisser 2022-03-14 15:04:57 +01:00
commit b694aea100

View File

@ -1,6 +1,8 @@
#include "fsfw/timemanager/Countdown.h" #include "fsfw/timemanager/Countdown.h"
Countdown::Countdown(uint32_t initialTimeout) : timeout(initialTimeout) {} Countdown::Countdown(uint32_t initialTimeout) : timeout(initialTimeout) {
setTimeout(initialTimeout);
}
Countdown::~Countdown() {} Countdown::~Countdown() {}