diff --git a/src/platforms/posix/drivers/gyrosim/gyrosim.cpp b/src/platforms/posix/drivers/gyrosim/gyrosim.cpp index 413abb0932..1eef3f88eb 100644 --- a/src/platforms/posix/drivers/gyrosim/gyrosim.cpp +++ b/src/platforms/posix/drivers/gyrosim/gyrosim.cpp @@ -445,6 +445,7 @@ GYROSIM::init() } ret = start(); + if (ret != OK) { PX4_ERR("gyro accel start failed (%d)", ret); return ret;