AP_Rally: fixed build for non-standard vehicle types
This commit is contained in:
parent
d6ee11db6e
commit
88bc1fb4d3
@ -16,10 +16,12 @@ extern const AP_HAL::HAL& hal;
|
|||||||
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
|
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
|
||||||
#define RALLY_LIMIT_KM_DEFAULT 0.5
|
#define RALLY_LIMIT_KM_DEFAULT 0.5
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
#define RALLY_LIMIT_KM_DEFAULT 1.0
|
|
||||||
#endif // APM_BUILD_DIRECTORY
|
#endif // APM_BUILD_DIRECTORY
|
||||||
|
|
||||||
|
#ifndef RALLY_LIMIT_KM_DEFAULT
|
||||||
|
#define RALLY_LIMIT_KM_DEFAULT 1.0
|
||||||
|
#endif
|
||||||
|
|
||||||
const AP_Param::GroupInfo AP_Rally::var_info[] PROGMEM = {
|
const AP_Param::GroupInfo AP_Rally::var_info[] PROGMEM = {
|
||||||
// @Param: TOTAL
|
// @Param: TOTAL
|
||||||
// @DisplayName: Rally Total
|
// @DisplayName: Rally Total
|
||||||
|
Loading…
Reference in New Issue
Block a user