HAL_ChibiOS: change battery scale for CUAV-7-Nano flight controller
This commit is contained in:
parent
89c9e59c55
commit
18cb1f3899
@ -105,8 +105,8 @@ PC3 ADC1_3V3 ADC1 SCALE(1) ANALOG(13)
|
||||
define HAL_BATT_MONITOR_DEFAULT 4
|
||||
define HAL_BATT_VOLT_PIN 9
|
||||
define HAL_BATT_CURR_PIN 8
|
||||
define HAL_BATT_VOLT_SCALE 10.1
|
||||
define HAL_BATT_CURR_SCALE 17.0
|
||||
define HAL_BATT_VOLT_SCALE 31.0
|
||||
define HAL_BATT_CURR_SCALE 24.0
|
||||
|
||||
# SPI1 - IIM42652
|
||||
PA5 SPI1_SCK SPI1
|
||||
|
Loading…
Reference in New Issue
Block a user