Skip to content

Commit

Permalink
gps_failsafes: comment typo and indent error
Browse files Browse the repository at this point in the history
  • Loading branch information
blandry committed Aug 24, 2016
1 parent 75a4821 commit 4a0d5ad
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ArduCopter/ekf_check.pde
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ static void failsafe_ekf_event()
failsafe.ekf = true;
Log_Write_Error(ERROR_SUBSYSTEM_FAILSAFE_EKFINAV, ERROR_CODE_FAILSAFE_OCCURRED);

// make sure the gps glitch failsafe does nothing on resilve
// make sure the gps glitch failsafe does nothing on resolve
gps_glitch_switch_mode_on_resolve = false;
ekf_check_mode_before_fs_on = control_mode;
ekf_check_switch_mode_on_resolve = true;
2 changes: 1 addition & 1 deletion libraries/AP_HAL_AVR_SITL/sitl_gps.cpp
Original file line number Diff line number Diff line change
@@ -245,7 +245,7 @@ void SITL_State::_update_gps_ubx(const struct gps_data *d)
if (velned.heading_2d < 0.0f) {
velned.heading_2d += 360.0f * 100000.0f;
}
velned.speed_accuracy = _sitl->gps_spd_err;
velned.speed_accuracy = _sitl->gps_spd_err;
velned.heading_accuracy = 4;

memset(&sol, 0, sizeof(sol));

0 comments on commit 4a0d5ad

Please sign in to comment.