fixed typo

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1857 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-04-08 19:15:27 +00:00
parent 5d63a05de7
commit 395e642f3b
1 changed files with 2 additions and 2 deletions

View File

@ -327,14 +327,14 @@ bool verify_nav_wp()
update_crosstrack();
if (next_WP.options & WP_OPTION_ALT_REQUIRED){
byte = current_loc.alt > next_WP.alt;
alt = (current_loc.alt > next_WP.alt);
}
if ((wp_distance > 0) && (wp_distance <= g.waypoint_radius)) {
//SendDebug("MSG <verify_must: MAV_CMD_NAV_WAYPOINT> REACHED_WAYPOINT #");
//SendDebugln(command_must_index,DEC);
if (alt){
if (alt == true){
char message[30];
sprintf(message,"Reached Waypoint #%i",command_must_index);
gcs.send_text(SEVERITY_LOW,message);