mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 01:43:33 +08:00
tap_esc: change define to use BOARD_ prefix
This commit is contained in:
committed by
Lorenz Meier
parent
e535156599
commit
41e51a7c85
@@ -68,6 +68,10 @@
|
|||||||
|
|
||||||
#include "drv_tap_esc.h"
|
#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.
|
* This driver connects to TAP ESCs via serial.
|
||||||
*/
|
*/
|
||||||
@@ -267,7 +271,7 @@ TAP_ESC::init()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(TAP_ESC_NO_VERIFY_CONFIG)
|
#if !BOARD_TAP_ESC_NO_VERIFY_CONFIG
|
||||||
|
|
||||||
/* Verify All ESC got the 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
|
/* To Unlock the ESC from the Power up state we need to issue 10
|
||||||
* ESCBUS_MSG_ID_RUN request with all the values 0;
|
* ESCBUS_MSG_ID_RUN request with all the values 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user