hwdef: use zero address for INA2XX to allow for different sensors

This commit is contained in:
Andrew Tridgell 2023-05-01 16:07:01 +10:00
parent e2041e10b5
commit b019978e22
4 changed files with 4 additions and 4 deletions

View File

@ -303,7 +303,7 @@ define HAL_WITH_RAMTRON 1
# INA226 battery monitor
define HAL_BATTMON_INA2XX_BUS 1
define HAL_BATTMON_INA2XX_ADDR 0x41
define HAL_BATTMON_INA2XX_ADDR 0
define HAL_BATT_MONITOR_DEFAULT 21
# allow to have have a dedicated safety switch pin

View File

@ -305,7 +305,7 @@ define HAL_WITH_RAMTRON 1
# INA226 battery monitor
define HAL_BATTMON_INA2XX_BUS 1
define HAL_BATTMON_INA2XX_ADDR 0x41
define HAL_BATTMON_INA2XX_ADDR 0
define HAL_BATT_MONITOR_DEFAULT 21
# allow to have have a dedicated safety switch pin

View File

@ -343,7 +343,7 @@ define HAL_WITH_RAMTRON 1
# INA226 battery monitor
define HAL_BATTMON_INA2XX_BUS 1
define HAL_BATTMON_INA2XX_ADDR 0x41
define HAL_BATTMON_INA2XX_ADDR 0
define HAL_BATT_MONITOR_DEFAULT 21
# allow to have have a dedicated safety switch pin

View File

@ -201,7 +201,7 @@ define HAL_DISABLE_ADC_DRIVER TRUE
# INA231 battery monitor
define HAL_BATTMON_INA2XX_BUS 1
define HAL_BATTMON_INA2XX_ADDR 0x44
define HAL_BATTMON_INA2XX_ADDR 0
define HAL_BATT_MONITOR_DEFAULT 21
# on some units a LTC2946 is used