mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 06:11:35 +08:00
gps: fix incorrect task id in module startup
This commit is contained in:
committed by
Daniel Agar
parent
2e12e14a23
commit
bb9f4d42f3
@@ -1406,7 +1406,7 @@ int GPS::task_spawn(int argc, char *argv[], Instance instance)
|
|||||||
entry_point, (char *const *)argv);
|
entry_point, (char *const *)argv);
|
||||||
|
|
||||||
if (task_id < 0) {
|
if (task_id < 0) {
|
||||||
task_id = -1;
|
_task_id = -1;
|
||||||
return -errno;
|
return -errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user