set timeout in countdown ctor

This commit is contained in:
Robin Müller 2022-03-08 11:50:47 +01:00
parent 3b497dbb8d
commit d63c01b96f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

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() {}