AC_PosControl: minor formatting fix

This commit is contained in:
Randy Mackay 2021-11-23 19:18:24 +09:00
parent 3a492c8e3c
commit a3886be920
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ void AC_PosControl::update_xy_controller()
handle_ekf_xy_reset();
// Check for position control time out
if ( !is_active_xy() ) {
if (!is_active_xy()) {
init_xy_controller();
if (has_good_timing()) {
// call internal error because initialisation has not been done