mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_RPM: don't present RPM2_PIN parameter if RPM_MAX_INSTANCES <=1
This commit is contained in:
parent
97c1445bce
commit
01eb64ce73
@ -79,7 +79,6 @@ const AP_Param::GroupInfo AP_RPM::var_info[] = {
|
|||||||
// @Increment: 0.001
|
// @Increment: 0.001
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("2_SCALING", 11, AP_RPM, _scaling[1], 1.0f),
|
AP_GROUPINFO("2_SCALING", 11, AP_RPM, _scaling[1], 1.0f),
|
||||||
#endif
|
|
||||||
|
|
||||||
// @Param: 2_PIN
|
// @Param: 2_PIN
|
||||||
// @DisplayName: RPM2 input pin number
|
// @DisplayName: RPM2 input pin number
|
||||||
@ -87,6 +86,7 @@ const AP_Param::GroupInfo AP_RPM::var_info[] = {
|
|||||||
// @Values: -1:Disabled,50:PixhawkAUX1,51:PixhawkAUX2,52:PixhawkAUX3,53:PixhawkAUX4,54:PixhawkAUX5,55:PixhawkAUX6
|
// @Values: -1:Disabled,50:PixhawkAUX1,51:PixhawkAUX2,52:PixhawkAUX3,53:PixhawkAUX4,54:PixhawkAUX5,55:PixhawkAUX6
|
||||||
// @User: Standard
|
// @User: Standard
|
||||||
AP_GROUPINFO("2_PIN", 12, AP_RPM, _pin[1], -1),
|
AP_GROUPINFO("2_PIN", 12, AP_RPM, _pin[1], -1),
|
||||||
|
#endif
|
||||||
|
|
||||||
AP_GROUPEND
|
AP_GROUPEND
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user