mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 09:24:01 -04:00
AP_Scheduler: params always use set method
This commit is contained in:
parent
63e58e4fa1
commit
a0fc8cc46a
@ -450,7 +450,7 @@ void AP_Scheduler::task_info(ExpandingString &str)
|
|||||||
|
|
||||||
// dynamically enable statistics collection
|
// dynamically enable statistics collection
|
||||||
if (!(_options & uint8_t(Options::RECORD_TASK_INFO))) {
|
if (!(_options & uint8_t(Options::RECORD_TASK_INFO))) {
|
||||||
_options |= uint8_t(Options::RECORD_TASK_INFO);
|
_options.set(_options | uint8_t(Options::RECORD_TASK_INFO));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user