Update template to modern GCC #1

Merged
thomas merged 8 commits from logan/CH32V203:master into master 2023-11-25 01:59:18 -05:00
Showing only changes of commit e5dc9abf1c - Show all commits

View file

@ -185,6 +185,8 @@ void ADC_StructInit(ADC_InitTypeDef *ADC_InitStruct)
ADC_InitStruct->ADC_ExternalTrigConv = ADC_ExternalTrigConv_T1_CC1; ADC_InitStruct->ADC_ExternalTrigConv = ADC_ExternalTrigConv_T1_CC1;
ADC_InitStruct->ADC_DataAlign = ADC_DataAlign_Right; ADC_InitStruct->ADC_DataAlign = ADC_DataAlign_Right;
ADC_InitStruct->ADC_NbrOfChannel = 1; ADC_InitStruct->ADC_NbrOfChannel = 1;
ADC_InitStruct->ADC_OutputBuffer = DISABLE;
ADC_InitStruct->ADC_Pga = ADC_Pga_1;
} }
/********************************************************************* /*********************************************************************