Rover: use SPEED_CRUISE define from config.h

This commit is contained in:
Peter Barker 2016-08-09 09:22:35 +10:00 committed by Grant Morphett
parent 1612110d16
commit 44791268ac
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ const AP_Param::Info Rover::var_info[] = {
// @Range: 0 100
// @Increment: 0.1
// @User: Standard
GSCALAR(speed_cruise, "CRUISE_SPEED", 5),
GSCALAR(speed_cruise, "CRUISE_SPEED", SPEED_CRUISE),
// @Param: SPEED_TURN_GAIN
// @DisplayName: Target speed reduction while turning

View File

@ -191,7 +191,7 @@
// AIRSPEED_CRUISE
//
#ifndef SPEED_CRUISE
# define SPEED_CRUISE 3 // 3 m/s
# define SPEED_CRUISE 5 // in m/s
#endif
#ifndef GSBOOST