AP_Param: fix typo

This commit is contained in:
Peter Barker 2020-12-16 14:51:35 +11:00 committed by Andrew Tridgell
parent 840c386a33
commit f12191b4b1

View File

@ -202,7 +202,7 @@ bool AP_Param::check_group_info(const struct AP_Param::GroupInfo * group_info,
return false; return false;
} }
if (group_shift != 0 && idx == 0) { if (group_shift != 0 && idx == 0) {
// great idx 0 as 63 for duplicates. See group_id() // treat idx 0 as 63 for duplicates. See group_id()
idx = 63; idx = 63;
} }
if (used_mask & (1ULL<<idx)) { if (used_mask & (1ULL<<idx)) {