mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 10:20:34 +08:00
PX4:comon Support BOARD_HAS_HW_SPLIT_VERSIONING
This commit is contained in:
committed by
Julian Oes
parent
b70381584c
commit
f916aeddea
@@ -88,6 +88,16 @@ static inline int px4_board_hw_revision(void)
|
||||
return board_get_hw_revision();
|
||||
}
|
||||
|
||||
#if defined(BOARD_HAS_HW_SPLIT_VERSIONING)
|
||||
/**
|
||||
* get the base board type
|
||||
*/
|
||||
static inline const char *px4_board_base_type(void)
|
||||
{
|
||||
return board_get_hw_base_type_name();
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* get the build URI (used for crash logging)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user