mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-03 22:48:28 -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
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user