mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 07:00:36 +08:00
fix gpssim: properly handle the case where gpssim is not running
This commit is contained in:
@@ -529,6 +529,7 @@ info()
|
||||
{
|
||||
if (g_dev == nullptr) {
|
||||
PX4_ERR("gpssim not running");
|
||||
return;
|
||||
}
|
||||
|
||||
g_dev->print_info();
|
||||
|
||||
Reference in New Issue
Block a user