mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: change class name from SITL::SITL to SITL::SIM
This commit is contained in:
parent
f20b7d0f8e
commit
7832f81a84
|
@ -1026,7 +1026,7 @@ bool AP_Logger_File::io_thread_alive() const
|
||||||
// the IO thread is working with hardware - writing to a physical
|
// the IO thread is working with hardware - writing to a physical
|
||||||
// disk. Unfortunately these hardware devices do not obey our
|
// disk. Unfortunately these hardware devices do not obey our
|
||||||
// SITL speedup options, so we allow for it here.
|
// SITL speedup options, so we allow for it here.
|
||||||
SITL::SITL *sitl = AP::sitl();
|
SITL::SIM *sitl = AP::sitl();
|
||||||
if (sitl != nullptr) {
|
if (sitl != nullptr) {
|
||||||
timeout_ms *= sitl->speedup;
|
timeout_ms *= sitl->speedup;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue