mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: correct generator bug
This commit is contained in:
parent
0bfa2638ce
commit
16d01f03fa
|
@ -1191,7 +1191,8 @@ void emit_userdata_method(const struct userdata *data, const struct method *meth
|
||||||
emit_checker(arg->type, arg_count, skipped, " ", "argument");
|
emit_checker(arg->type, arg_count, skipped, " ", "argument");
|
||||||
arg_count++;
|
arg_count++;
|
||||||
}
|
}
|
||||||
if (arg->type.type != TYPE_LITERAL || arg->type.flags & TYPE_FLAGS_NULLABLE) {
|
if (//arg->type.type != TYPE_LITERAL ||
|
||||||
|
arg->type.flags & TYPE_FLAGS_NULLABLE) {
|
||||||
skipped++;
|
skipped++;
|
||||||
}
|
}
|
||||||
arg = arg->next;
|
arg = arg->next;
|
||||||
|
|
Loading…
Reference in New Issue