mirror of https://github.com/ArduPilot/ardupilot
AP_Param: Match output type and variable type
This commit is contained in:
parent
2e4dda5ece
commit
88c681586f
|
@ -623,7 +623,7 @@ uint8_t AP_Param::type_size(enum ap_var_type type)
|
||||||
case AP_PARAM_VECTOR3F:
|
case AP_PARAM_VECTOR3F:
|
||||||
return 3*4;
|
return 3*4;
|
||||||
}
|
}
|
||||||
Debug("unknown type %u\n", type);
|
Debug("unknown type %d\n", type);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue