small tweak to allow immediate HK generation

This commit is contained in:
Robin Müller 2023-07-17 10:31:02 +02:00
parent 42e74d22cc
commit a26b0c38ac
Signed by: muellerr
GPG Key ID: A649FB78196E3849
1 changed files with 2 additions and 0 deletions

View File

@ -34,4 +34,6 @@ void PeriodicHousekeepingHelper::changeCollectionInterval(float newIntervalSecon
}
collectionInterval = newIntervalSeconds;
hkGenerationCd.setTimeout(intervalMs);
// We want an immediate HK packet at the start, so time out the generation CD immediately.
hkGenerationCd.timeOut();
}