Browse Source

AP_Scheduler: params always use set method

apm_2208
Iampete1 3 years ago committed by Peter Hall
parent
commit
a0fc8cc46a
  1. 2
      libraries/AP_Scheduler/AP_Scheduler.cpp

2
libraries/AP_Scheduler/AP_Scheduler.cpp

@ -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…
Cancel
Save