1
0
forked from fsfw/fsfw

added some test, initial tick counter higher now

This commit is contained in:
2021-03-10 18:03:39 +01:00
parent 6501c16fd7
commit b2e4438811
2 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,9 @@ void PeriodicHousekeepingHelper::initialize(float collectionInterval,
nonDiagIntervalFactor;
}
collectionIntervalTicks = intervalSecondsToInterval(collectionInterval);
/* This will cause a checkOpNecessary call to be true immediately. I think it's okay
if a HK packet is generated immediately instead of waiting one generation cycle. */
internalTickCounter = collectionIntervalTicks;
}
float PeriodicHousekeepingHelper::getCollectionIntervalInSeconds() {