Persistent TM Store #320
@ -87,9 +87,9 @@ MessageQueueId_t TmStore::getCommandQueue() { return MessageQueueIF::NO_QUEUE; }
|
||||
|
||||
void TmStore::calcDiffSeconds(RolloverInterval intervalUnit, uint32_t intervalCount) {
|
||||
if (intervalUnit == RolloverInterval::HOURLY) {
|
||||
rolloverDiffSeconds = 60 * intervalCount;
|
||||
rolloverDiffSeconds = 60 * 60 * intervalCount;
|
||||
} else if (intervalUnit == RolloverInterval::DAILY) {
|
||||
rolloverDiffSeconds = 60 * 24 * intervalCount;
|
||||
rolloverDiffSeconds = 60 * 60 * 24 * intervalCount;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user