HAL_ChibiOS: change battery scale for CUAV-7-Nano flight controller

This commit is contained in:
cuav-chen2 2024-08-26 17:06:44 +08:00 committed by Peter Barker
parent 89c9e59c55
commit 18cb1f3899
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ PC3 ADC1_3V3 ADC1 SCALE(1) ANALOG(13)
define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_MONITOR_DEFAULT 4
define HAL_BATT_VOLT_PIN 9 define HAL_BATT_VOLT_PIN 9
define HAL_BATT_CURR_PIN 8 define HAL_BATT_CURR_PIN 8
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 31.0
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 24.0
# SPI1 - IIM42652 # SPI1 - IIM42652
PA5 SPI1_SCK SPI1 PA5 SPI1_SCK SPI1