mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: define CHIBIOS_SHORT_BOARD_NAME if not defined
This commit is contained in:
parent
a7ecbf29aa
commit
eb2c9dfe74
|
@ -64,6 +64,10 @@
|
||||||
#define HAL_COMPASS_HMC5843_NAME "hmc5843"
|
#define HAL_COMPASS_HMC5843_NAME "hmc5843"
|
||||||
#define HAL_COMPASS_LIS3MDL_NAME "lis3mdl"
|
#define HAL_COMPASS_LIS3MDL_NAME "lis3mdl"
|
||||||
|
|
||||||
|
// allow for short names overridden in hwdef.dat
|
||||||
|
#ifndef CHIBIOS_SHORT_BOARD_NAME
|
||||||
|
#define CHIBIOS_SHORT_BOARD_NAME CHIBIOS_BOARD_NAME
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_HAL_BOARD_SUBTYPE
|
#ifndef CONFIG_HAL_BOARD_SUBTYPE
|
||||||
// allow for generic boards
|
// allow for generic boards
|
||||||
|
|
Loading…
Reference in New Issue