mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 12:08:52 +08:00
param: Fix another off by 1 error and a formatting issue.
This commit is contained in:
@@ -283,7 +283,7 @@ param_find_internal(const char *name, bool notification)
|
||||
break;
|
||||
|
||||
} else if (ret < 0) {
|
||||
last = middle - 1;
|
||||
last = middle;
|
||||
|
||||
} else {
|
||||
front = middle;
|
||||
|
||||
Reference in New Issue
Block a user