fixed small timing Bug

This commit is contained in:
J.Schröder 2025-03-23 03:15:39 +01:00
parent 46d8804664
commit 622eacd331

View File

@ -175,7 +175,7 @@ int32_t FishEyeStateRoutingModule::runOnce(){
}
if (min != UINT32_MAX){
if ((min != UINT32_MAX) && ((((int64_t) min) - ((int64_t) getTime())) < 300000)){
return ((int32_t) (((int64_t) min) - ((int64_t) getTime()))) * 1000; // We need seconds here
}
return{300000};