Skip to content

Commit e28e34d

Browse files
committed
ADC Calibration
1 parent cc82e88 commit e28e34d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ void* _configureADCLowSide(const void* driver_params, const int pinA,const int p
110110
MX_ADC1_Init(&hadc1);
111111
MX_ADC2_Init(&hadc2);
112112

113-
//HAL_ADCEx_Calibration_Start(&hadc1,ADC_SINGLE_ENDED);
114-
//HAL_ADCEx_Calibration_Start(&hadc2,ADC_SINGLE_ENDED);
113+
HAL_ADCEx_Calibration_Start(&hadc1,ADC_SINGLE_ENDED);
114+
HAL_ADCEx_Calibration_Start(&hadc2,ADC_SINGLE_ENDED);
115115

116116
MX_DMA1_Init(&hadc1, &hdma_adc1, DMA1_Channel1, DMA_REQUEST_ADC1);
117117
MX_DMA1_Init(&hadc2, &hdma_adc2, DMA1_Channel2, DMA_REQUEST_ADC2);

0 commit comments

Comments
 (0)