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