Обновление платы на V2

This commit is contained in:
cfif 2026-05-12 14:14:57 +03:00
parent 68fede1cf3
commit de50271e00
1 changed files with 7 additions and 2 deletions

9
Adcs.c
View File

@ -184,7 +184,7 @@ static const ADC_ChannelCfgType s_aChannelsAdc0[ADC0_CHN_NUM_EN] =
};
#define ADC1_CHN_NUM_EN 16
#define ADC1_CHN_NUM_EN 17
static uint32_t s_aAdc1ResultBuf[ADC1_CHN_NUM_EN] = {0U};
static const ADC_ChannelCfgType s_aChannelsAdc1[ADC1_CHN_NUM_EN] =
{
@ -273,7 +273,12 @@ static const ADC_ChannelCfgType s_aChannelsAdc1[ADC1_CHN_NUM_EN] =
{
.eChannel = ADC_CHANNEL_30, //PA0: Sensor_B_T_reserve
.eSampleTimeOption = ADC_SAMPLE_TIME_OPTION_3
}
},
{
.eChannel = ADC1_CHANNEL_VREFH,
.eSampleTimeOption = ADC_SAMPLE_TIME_OPTION_0
},
};