mirror of https://github.com/ArduPilot/ardupilot
Copter: allocation failure on rate thread start
This commit is contained in:
parent
88f6125a94
commit
3ed6ada2e3
|
@ -817,6 +817,8 @@ void Copter::one_hz_loop()
|
||||||
"rate",
|
"rate",
|
||||||
1536, AP_HAL::Scheduler::PRIORITY_RCOUT, 1)) {
|
1536, AP_HAL::Scheduler::PRIORITY_RCOUT, 1)) {
|
||||||
started_rate_thread = true;
|
started_rate_thread = true;
|
||||||
|
} else {
|
||||||
|
AP_BoardConfig::allocation_error("rate thread");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue