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