Skip to content

Commit

Permalink
AP_Scheduler: Use a range of values here because it is valid to do so.
Browse files Browse the repository at this point in the history
Makes it easier for GUI applications to display this better and valudate the range
  • Loading branch information
amilcarlucas authored and tridge committed Nov 5, 2024
1 parent 6a59d3a commit 12b761c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/AP_Scheduler/AP_Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ const AP_Param::GroupInfo AP_Scheduler::var_info[] = {
// @Param: LOOP_RATE
// @DisplayName: Scheduling main loop rate
// @Description: This controls the rate of the main control loop in Hz. This should only be changed by developers. This only takes effect on restart. Values over 400 are considered highly experimental.
// @Values: 50:50Hz,100:100Hz,200:200Hz,250:250Hz,300:300Hz,400:400Hz
// @Range: 50 400
// @RebootRequired: True
// @Units: Hz
// @User: Advanced
AP_GROUPINFO("LOOP_RATE", 1, AP_Scheduler, _loop_rate_hz, SCHEDULER_DEFAULT_LOOP_RATE),

Expand Down

0 comments on commit 12b761c

Please sign in to comment.