platforms/common: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 a99cc0a20b
commit 3fa9cda505
2 changed files with 2 additions and 2 deletions
@@ -64,7 +64,7 @@ static inline constexpr bool PX4_ISFINITE(double x) { return __builtin_isfinite(
****************************************************************************/
#define PX4_ROOTFSDIR ""
#define PX4_STORAGEDIR PX4_ROOTFSDIR "/fs/microsd"
#define PX4_STORAGEDIR PX4_ROOTFSDIR CONFIG_BOARD_ROOT_PATH
#define _PX4_IOC(x,y) _IOC(x,y)
// mode for open with O_CREAT