mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 09:13:34 +08:00
Merge pull request #338 from PX4/autostart
Implemented new, simple system boot config and sane default value system
This commit is contained in:
@@ -1483,7 +1483,7 @@ int sensors_main(int argc, char *argv[])
|
||||
if (!strcmp(argv[1], "start")) {
|
||||
|
||||
if (sensors::g_sensors != nullptr)
|
||||
errx(1, "sensors task already running");
|
||||
errx(0, "sensors task already running");
|
||||
|
||||
sensors::g_sensors = new Sensors;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user