We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f749ad commit 71e6777Copy full SHA for 71e6777
libraries/AP_Logger/AP_Logger_File.cpp
@@ -1057,7 +1057,7 @@ bool AP_Logger_File::io_thread_alive() const
1057
// disk. Unfortunately these hardware devices do not obey our
1058
// SITL speedup options, so we allow for it here.
1059
SITL::SIM *sitl = AP::sitl();
1060
- if (sitl != nullptr) {
+ if (sitl != nullptr && sitl->speedup > 0) {
1061
timeout_ms *= sitl->speedup;
1062
}
1063
#endif
0 commit comments