mirror of https://github.com/ArduPilot/ardupilot
AP_CustomRotations: fix param refrencing
This commit is contained in:
parent
6355934a36
commit
c31e54b5bb
|
@ -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();
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
class AP_CustomRotation {
|
||||
public:
|
||||
AP_CustomRotation(AP_CustomRotation_params _params);
|
||||
AP_CustomRotation(AP_CustomRotation_params &_params);
|
||||
|
||||
void init();
|
||||
|
||||
|
|
Loading…
Reference in New Issue