Skip to content

Commit

Permalink
Tests: Speed up boot
Browse files Browse the repository at this point in the history
The previous boot configuration took at minimum one second to boot. This is in particular significant in tests when the system is often started and stopped
  • Loading branch information
LorenzMeier committed Dec 23, 2019
1 parent 9ac68ab commit acd18ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/simulator/simulator.cpp
Expand Up @@ -163,7 +163,7 @@ extern "C" {
break;

} else {
system_sleep(1);
system_usleep(100);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/simulator/simulator_mavlink.cpp
Expand Up @@ -667,7 +667,7 @@ void Simulator::poll_for_MAVLink_messages()
break;

} else {
system_sleep(1);
system_usleep(100);
}
}

Expand Down

0 comments on commit acd18ad

Please sign in to comment.