AP_HAL: allow override of MS5611 name

for fmuv4-beta
This commit is contained in:
Andrew Tridgell 2018-04-01 07:56:03 +10:00
parent af1e3aa64d
commit 7d3cce98d0
1 changed files with 2 additions and 0 deletions

View File

@ -45,7 +45,9 @@
/* string names for well known SPI devices */
#define HAL_BARO_MS5611_NAME "ms5611"
#ifndef HAL_BARO_MS5611_SPI_INT_NAME
#define HAL_BARO_MS5611_SPI_INT_NAME "ms5611_int"
#endif
#define HAL_BARO_MS5611_SPI_EXT_NAME "ms5611_ext"
#define HAL_BARO_LPS22H_NAME "lps22h"