mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h
This commit is contained in:
parent
08b33954db
commit
fe72640955
|
@ -190,10 +190,6 @@
|
||||||
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(Invensense, "icm20602", ROTATION_ROLL_180_YAW_270)
|
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(Invensense, "icm20602", ROTATION_ROLL_180_YAW_270)
|
||||||
#define HAL_MAG_PROBE_LIST PROBE_MAG_I2C(MMC5XX3, 1, 0x30, false, ROTATION_YAW_90)
|
#define HAL_MAG_PROBE_LIST PROBE_MAG_I2C(MMC5XX3, 1, 0x30, false, ROTATION_YAW_90)
|
||||||
#define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 4, 0x76)
|
#define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 4, 0x76)
|
||||||
#define HAL_BATT_CURR_PIN 4
|
|
||||||
#define HAL_BATT_CURR_SCALE 1
|
|
||||||
#define HAL_BATT_VOLT_PIN 5
|
|
||||||
#define HAL_BATT_VOLT_SCALE 1
|
|
||||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
||||||
#define HAL_GPIO_A_LED_PIN 66
|
#define HAL_GPIO_A_LED_PIN 66
|
||||||
#define HAL_GPIO_B_LED_PIN 67
|
#define HAL_GPIO_B_LED_PIN 67
|
||||||
|
|
Loading…
Reference in New Issue