AP_Logger: change class name from SITL::SITL to SITL::SIM

This commit is contained in:
bugobliterator 2021-07-30 15:44:44 +05:30 committed by Andrew Tridgell
parent f20b7d0f8e
commit 7832f81a84
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }