Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Apr 30, 2024
1 parent f0e972e commit 771d747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2i-hub/CARMACloudPlugin/src/CARMACloudPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void CARMACloudPlugin::HandleCARMARequest(tsm4Message &msg, routeable_message &r
long lat = carmaRequest->body.choice.tcrV01.bounds.list.array[cnt]->reflat;
long longg = carmaRequest->body.choice.tcrV01.bounds.list.array[cnt]->reflon;

auto oldest = std::max(tm, 0); // Replace tm with 0 if negative
auto oldest = std::max(oldestInMins, 0); // Replace tm with 0 if negative

long dtx0 = carmaRequest->body.choice.tcrV01.bounds.list.array[cnt]->offsets.list.array[0]->deltax;
long dty0 = carmaRequest->body.choice.tcrV01.bounds.list.array[cnt]->offsets.list.array[0]->deltay;
Expand Down

0 comments on commit 771d747

Please sign in to comment.