mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 17:13:34 +08:00
drivers:Use CONFIG_BOARD_ROOT_PATH instead of string constant
This commit is contained in:
committed by
Daniel Agar
parent
3fa9cda505
commit
d0d9aaa6e9
@@ -44,7 +44,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
|
||||
#define TAP_ESC_FW_SEARCH_PATHS {"/etc/extras/tap_esc.bin", "/fs/microsd/tap_esc.bin", nullptr }
|
||||
#define TAP_ESC_FW_SEARCH_PATHS {"/etc/extras/tap_esc.bin", CONFIG_BOARD_ROOT_PATH "/tap_esc.bin", nullptr }
|
||||
#define PROTO_SUPPORT_BL_REV 5 /**< supported bootloader protocol revision */
|
||||
#define SYNC_RETRY_TIMES 5 /**< (uint8) esc sync failed allow retry times*/
|
||||
#define UPLOADER_RETRY_TIMES 2 /**< esc uploader failed allow retry times*/
|
||||
|
||||
Reference in New Issue
Block a user