mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 19:37:34 +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"
|
||||
#elif defined(CONFIG_ARCH_BOARD_BEBOP)
|
||||
# define HW_ARCH "BEBOP"
|
||||
#elif defined(CONFIG_ARCH_BOARD_CRAZYFLIE)
|
||||
# define HW_ARCH "CRAZYFLIE"
|
||||
#else
|
||||
#define HW_ARCH (board_name())
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user