tap_esc: change define to use BOARD_ prefix

This commit is contained in:
Lucas De Marchi
2017-04-06 12:18:30 +02:00
committed by Lorenz Meier
parent e535156599
commit 41e51a7c85
+6 -2
View File
@@ -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;