commander: fix whitespace

This commit is contained in:
Thomas Gubler 2015-04-03 16:11:38 +02:00 committed by Lorenz Meier
parent 844be8c5f1
commit 7a2bb7c03a
1 changed files with 2 additions and 2 deletions

View File

@ -1409,14 +1409,14 @@ int commander_thread_main(int argc, char *argv[])
if(status.condition_global_position_valid) {
set_tune_override(TONE_GPS_WARNING_TUNE);
status_changed = true;
status.condition_global_position_valid = false;
status.condition_global_position_valid = false;
}
}
else if(global_position.timestamp != 0) {
//Got good global position estimate
if(!status.condition_global_position_valid) {
status_changed = true;
status.condition_global_position_valid = true;
status.condition_global_position_valid = true;
}
}