Skip to content
This repository was archived by the owner on Jul 20, 2019. It is now read-only.

Commit 29b1818

Browse files
committed
update px4
1 parent 1755c7a commit 29b1818

File tree

9 files changed

+13
-21
lines changed

9 files changed

+13
-21
lines changed

Tools/sitl_gazebo

src/lib/DriverFramework

src/lib/matrix

src/platforms/px4_defines.h

+5-13
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,7 @@ using ::isfinite;
172172

173173
#define px4_statfs_buf_f_bavail_t unsigned long
174174

175-
#if defined(__PX4_QURT)
176-
#define PX4_ROOTFSDIR
177-
#elif defined(__PX4_POSIX_EAGLE)
178-
#define PX4_ROOTFSDIR "/home/linaro"
179-
#elif defined(__PX4_POSIX_BEBOP)
180-
#define PX4_ROOTFSDIR "/home/root"
181-
#elif defined(__PX4_POSIX_ERLEBRAIN2)
182-
#define PX4_ROOTFSDIR "/etc/PX4/px4Directory"
183-
#elif defined(__PX4_POSIX_PXFMINI)
184-
#define PX4_ROOTFSDIR "/etc/PX4/px4Directory"
185-
#else
186-
#define PX4_ROOTFSDIR "rootfs"
187-
#endif
175+
#ifdef __PX4_QURT
188176

189177
// QURT specific
190178
# include "dspal_math.h"
@@ -210,6 +198,10 @@ __END_DECLS
210198
# define PX4_ROOTFSDIR "/home/linaro"
211199
# elif defined(__PX4_POSIX_BEBOP)
212200
# define PX4_ROOTFSDIR "/home/root"
201+
# elif defined(__PX4_POSIX_ERLEBRAIN2)
202+
# define PX4_ROOTFSDIR "/etc/PX4/px4Directory"
203+
# elif defined(__PX4_POSIX_PXFMINI)
204+
# define PX4_ROOTFSDIR "/etc/PX4/px4Directory"
213205
# else
214206
# define PX4_ROOTFSDIR "rootfs"
215207
# endif

0 commit comments

Comments
 (0)