mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Cleanup CC3D softserial - it only has enough pins/timers for one port.
PR #124 incorrectly re-used the same timer hardware for the second port which was bad.
This commit is contained in:
parent
b08f51d88c
commit
91c7407806
10 changed files with 37 additions and 41 deletions
|
@ -64,7 +64,6 @@ void adcInit(drv_adc_config_t *init)
|
|||
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN;
|
||||
|
||||
#ifdef CC3D
|
||||
UNUSED(init);
|
||||
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
|
||||
adcConfig[ADC_BATTERY].adcChannel = ADC_Channel_0;
|
||||
adcConfig[ADC_BATTERY].dmaIndex = configuredAdcChannels++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue