AP_HAL: define CHIBIOS_SHORT_BOARD_NAME if not defined

This commit is contained in:
Andrew Tridgell 2018-06-29 17:54:23 +10:00
parent a7ecbf29aa
commit eb2c9dfe74
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@
#define HAL_COMPASS_HMC5843_NAME "hmc5843"
#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
// allow for generic boards