AP_Rally: fixed build for non-standard vehicle types

This commit is contained in:
Andrew Tridgell 2014-08-06 17:55:00 +10:00
parent d6ee11db6e
commit 88bc1fb4d3

View File

@ -16,9 +16,11 @@ extern const AP_HAL::HAL& hal;
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
#define RALLY_LIMIT_KM_DEFAULT 0.5
#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 = {
// @Param: TOTAL