diff --git a/libraries/AP_Logger/AP_Logger_File.cpp b/libraries/AP_Logger/AP_Logger_File.cpp index f4789019a0..35d7325a9e 100644 --- a/libraries/AP_Logger/AP_Logger_File.cpp +++ b/libraries/AP_Logger/AP_Logger_File.cpp @@ -1026,7 +1026,7 @@ bool AP_Logger_File::io_thread_alive() const // the IO thread is working with hardware - writing to a physical // disk. Unfortunately these hardware devices do not obey our // SITL speedup options, so we allow for it here. - SITL::SITL *sitl = AP::sitl(); + SITL::SIM *sitl = AP::sitl(); if (sitl != nullptr) { timeout_ms *= sitl->speedup; }