Update template to modern GCC #1
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
Loading…
Reference in a new issue