mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 04:40:34 +08:00
param lib: Fix index used routine
This commit is contained in:
@@ -313,7 +313,7 @@ param_for_used_index(unsigned index)
|
||||
* return the param value
|
||||
*/
|
||||
if (index == count) {
|
||||
return (param_t)i;
|
||||
return (param_t)(i * 8 + j);
|
||||
}
|
||||
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user