mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:33:35 +08:00
fix airspeedsim: add missing return
This commit is contained in:
@@ -547,6 +547,7 @@ info()
|
||||
{
|
||||
if (g_dev == nullptr) {
|
||||
PX4_WARN("driver not running");
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("state @ %p\n", g_dev);
|
||||
|
||||
Reference in New Issue
Block a user