From ef1a14cc6cab9c9b06e7e7403448608c6d584a99 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 13 Jan 2018 16:56:29 +1100 Subject: [PATCH] HAL_ChibiOS: fixed 5V analog scale on fmuv4 and mindpx-v2 --- libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat index 03ee08b843..a63cc645d0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat @@ -38,7 +38,7 @@ PA0 UART4_TX UART4 PA1 UART4_RX UART4 PA2 BATT_VOLTAGE_SENS ADC1 PA3 BATT_CURRENT_SENS ADC1 -PA4 VDD_5V_SENS ADC1 +PA4 VDD_5V_SENS ADC1 SCALE(2) # SPI1 is sensors bus PA5 SPI1_SCK SPI1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat index 571f01b97a..c8a8377b9c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat @@ -52,7 +52,7 @@ PA0 UART4_TX UART4 PA1 UART4_RX UART4 PA2 TIM2_CH3 TIM2 PWM(15) PA3 TIM2_CH4 TIM2 PWM(16) -PA4 VDD_5V_SENS ADC1 +PA4 VDD_5V_SENS ADC1 SCALE(2) # SPI1 is fram bus PA5 SPI1_SCK SPI1