mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-05 14:17:20 +08:00
Crazyflie uses the board common interface to provide board name
Removed #ifdef in version.h
This commit is contained in:
committed by
Lorenz Meier
parent
ab43baa02d
commit
d77e107e31
@@ -63,8 +63,6 @@ __END_DECLS
|
|||||||
# define HW_ARCH "RPI"
|
# define HW_ARCH "RPI"
|
||||||
#elif defined(CONFIG_ARCH_BOARD_BEBOP)
|
#elif defined(CONFIG_ARCH_BOARD_BEBOP)
|
||||||
# define HW_ARCH "BEBOP"
|
# define HW_ARCH "BEBOP"
|
||||||
#elif defined(CONFIG_ARCH_BOARD_CRAZYFLIE)
|
|
||||||
# define HW_ARCH "CRAZYFLIE"
|
|
||||||
#else
|
#else
|
||||||
#define HW_ARCH (board_name())
|
#define HW_ARCH (board_name())
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user