Compare commits

...

5 Commits

2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ MgmRM3100Handler::MgmRM3100Handler(object_id_t objectId,
DeviceHandlerBase(objectId, deviceCommunication, comCookie),
primaryDataset(this), switchId(switchId), transitionDelay(transitionDelay) {
#if FSFW_HAL_RM3100_MGM_DEBUG == 1
debugDivider = new PeriodicOperationDivider(1);
debugDivider = new PeriodicOperationDivider(3);
#endif
}

View File

@@ -12,6 +12,7 @@ bool PeriodicOperationDivider::checkAndIncrement() {
if(resetAutomatically) {
counter = 1;
}
return opNecessary;
}
counter++;
return opNecessary;