drivers:Use CONFIG_BOARD_ROOT_PATH instead of string constant

This commit is contained in:
David Sidrane
2024-07-24 11:39:44 -04:00
committed by Daniel Agar
parent 3fa9cda505
commit d0d9aaa6e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
// firmware paths
#define UAVCAN_MAX_PATH_LENGTH (128 + 40)
#define UAVCAN_SD_ROOT_PATH "/fs/microsd/"
#define UAVCAN_SD_ROOT_PATH CONFIG_BOARD_ROOT_PATH "/"
#define UAVCAN_FIRMWARE_PATH UAVCAN_SD_ROOT_PATH"ufw"
#define UAVCAN_ROMFS_FW_PATH "/etc/uavcan/fw"
#define UAVCAN_ROMFS_FW_PREFIX "_"