mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +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);
|
||||
|
||||
if (task_id < 0) {
|
||||
task_id = -1;
|
||||
_task_id = -1;
|
||||
return -errno;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user