APM: minor formatting fix

This commit is contained in:
Andrew Tridgell 2012-08-14 16:52:04 +10:00
parent b6b12532da
commit 92bdc23ab6

View File

@ -19,8 +19,8 @@ static void navigate()
// ----------------------------
wp_distance = get_distance(&current_loc, &next_WP);
if (wp_distance < 0){
gcs_send_text_P(SEVERITY_HIGH,PSTR("<navigate> WP error - distance < 0"));
if (wp_distance < 0) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("WP error - distance < 0"));
//Serial.println(wp_distance,DEC);
return;
}