Skip to content

Commit

Permalink
Added sleep to row 2296
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWikander committed Oct 26, 2020
1 parent 81ea175 commit ae50330
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/objectcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,7 @@ int sendDataInjectionMessages(const ObjectDataType * objectData,
for (unsigned int i = 0; i < relevantMap->numberOfTargets; ++i) {
for (unsigned int j = 0; j < numberOfObjects; j++) {
if (transmitterIDs[j] == relevantMap->targetIDs[i]) {
usleep(700000);
UtilSendUDPData(MODULE_NAME, &objectConnections[j].monitorSocket,
&objectConnections[j].objectMonitorAddress,
transmissionBuffer, messageSize, 0);
Expand Down

0 comments on commit ae50330

Please sign in to comment.