mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
ArduCopter: removed unused icount variable from commands_logic.pde to reduce compiler warnings.
This commit is contained in:
parent
87d5b5944d
commit
7a6732fb4b
@ -369,11 +369,8 @@ static bool verify_takeoff()
|
||||
// called at 10hz
|
||||
static bool verify_land_sonar()
|
||||
{
|
||||
static float icount = 1;
|
||||
|
||||
if(current_loc.alt > 300){
|
||||
wp_control = LOITER_MODE;
|
||||
icount = 1;
|
||||
ground_detector = 0;
|
||||
}else{
|
||||
// begin to pull down on the throttle
|
||||
|
Loading…
Reference in New Issue
Block a user