fix gpssim: properly handle the case where gpssim is not running

This commit is contained in:
Beat Küng 2016-04-06 09:51:58 +02:00 committed by tumbili
parent 77cda58d73
commit 458feb0a44

View File

@ -529,6 +529,7 @@ info()
{
if (g_dev == nullptr) {
PX4_ERR("gpssim not running");
return;
}
g_dev->print_info();