mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
tap_esc: change define to use BOARD_ prefix
This commit is contained in:
parent
e535156599
commit
41e51a7c85
@ -68,6 +68,10 @@
|
||||
|
||||
#include "drv_tap_esc.h"
|
||||
|
||||
#if !defined(BOARD_TAP_ESC_NO_VERIFY_CONFIG)
|
||||
# define BOARD_TAP_ESC_NO_VERIFY_CONFIG 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This driver connects to TAP ESCs via serial.
|
||||
*/
|
||||
@ -267,7 +271,7 @@ TAP_ESC::init()
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if !defined(TAP_ESC_NO_VERIFY_CONFIG)
|
||||
#if !BOARD_TAP_ESC_NO_VERIFY_CONFIG
|
||||
|
||||
/* Verify All ESC got the config */
|
||||
|
||||
@ -314,7 +318,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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user