mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Scheduler: params always use set method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user