forked from Archive/PX4-Autopilot
FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses
This commit is contained in:
parent
aeba9e5c1e
commit
51a1ad48c5
|
@ -215,9 +215,9 @@ __EXPORT int nsh_archinitialize(void)
|
||||||
stm32_configgpio(GPIO_ADC1_IN2); /* BATT_VOLTAGE_SENS */
|
stm32_configgpio(GPIO_ADC1_IN2); /* BATT_VOLTAGE_SENS */
|
||||||
stm32_configgpio(GPIO_ADC1_IN3); /* BATT_CURRENT_SENS */
|
stm32_configgpio(GPIO_ADC1_IN3); /* BATT_CURRENT_SENS */
|
||||||
stm32_configgpio(GPIO_ADC1_IN4); /* VDD_5V_SENS */
|
stm32_configgpio(GPIO_ADC1_IN4); /* VDD_5V_SENS */
|
||||||
stm32_configgpio(GPIO_ADC1_IN10); /* unrouted */
|
// stm32_configgpio(GPIO_ADC1_IN10); /* used by VBUS valid */
|
||||||
stm32_configgpio(GPIO_ADC1_IN11); /* unrouted */
|
// stm32_configgpio(GPIO_ADC1_IN11); /* unused */
|
||||||
stm32_configgpio(GPIO_ADC1_IN12); /* unrouted */
|
// stm32_configgpio(GPIO_ADC1_IN12); /* used by MPU6000 CS */
|
||||||
stm32_configgpio(GPIO_ADC1_IN13); /* FMU_AUX_ADC_1 */
|
stm32_configgpio(GPIO_ADC1_IN13); /* FMU_AUX_ADC_1 */
|
||||||
stm32_configgpio(GPIO_ADC1_IN14); /* FMU_AUX_ADC_2 */
|
stm32_configgpio(GPIO_ADC1_IN14); /* FMU_AUX_ADC_2 */
|
||||||
stm32_configgpio(GPIO_ADC1_IN15); /* PRESSURE_SENS */
|
stm32_configgpio(GPIO_ADC1_IN15); /* PRESSURE_SENS */
|
||||||
|
|
Loading…
Reference in New Issue