Removed CONFIG_ARCH_BOARD_AEROFC_V1 from tap_esc

Changed the CONFIG_ARCH_BOARD_AEROFC_V1 in tap_esc.cpp to
   TAP_ESC_NO_VERIFY_CONFIG to maintian the commitment to not
   have CONFIG_ARCH_BOARD_xxxx ifdef litter in the PX4 code base.
   TAP_ESC_NO_VERIFY_CONFIG will be removed (see todo) in
   aerofc-v1/board_config.h
This commit is contained in:
David Sidrane
2017-01-21 11:45:36 +01:00
committed by Lorenz Meier
parent fa6ad99aba
commit 216ec6513a
2 changed files with 13 additions and 3 deletions
+2 -3
View File
@@ -265,8 +265,7 @@ TAP_ESC::init()
return ret;
}
#ifdef CONFIG_ARCH_BOARD_AEROFC_V1
#else
#if !defined(TAP_ESC_NO_VERIFY_CONFIG)
/* Verify All ESC got the config */
@@ -313,7 +312,7 @@ TAP_ESC::init()
}
#endif
#endif //
/* To Unlock the ESC from the Power up state we need to issue 10
* ESCBUS_MSG_ID_RUN request with all the values 0;