Arducopter: Fix compile issue

This commit is contained in:
Jason Short 2012-07-19 10:09:16 -07:00
parent 5a73a2b9cd
commit 6506ebf69f
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ static int16_t get_desired_speed(int16_t max_speed, bool _slow)
return max_speed;
}
static int16_t get_desired_climb_rate(int16_t speed)
static int16_t get_desired_climb_rate()
{
if(alt_change_flag == ASCENDING){
return constrain(altitude_error / 4, 65, 180); // 180cm /s up