AP_CustomRotations: fix param refrencing

This commit is contained in:
Iampete1 2022-04-18 23:50:24 +01:00 committed by Andrew Tridgell
parent 6355934a36
commit c31e54b5bb
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const AP_Param::GroupInfo AP_CustomRotations::var_info[] = {
AP_GROUPEND
};
AP_CustomRotation::AP_CustomRotation(AP_CustomRotation_params _params):
AP_CustomRotation::AP_CustomRotation(AP_CustomRotation_params &_params):
params(_params)
{
init();

View File

@ -32,7 +32,7 @@ public:
class AP_CustomRotation {
public:
AP_CustomRotation(AP_CustomRotation_params _params);
AP_CustomRotation(AP_CustomRotation_params &_params);
void init();