Kommentare ergänzt

This commit is contained in:
Carsten Keller 2024-06-09 17:57:45 +02:00
parent f501e0cbd9
commit 67f34372ed
Signed by: carsten
GPG Key ID: DF06343A3A9B8868

View File

@ -88,6 +88,8 @@ namespace ElektronischeLast
{ {
wait_loop_index--; wait_loop_index--;
} }
/* Kalibrierung muss vor dem DMA gemacht werden, da dieser sonst den Kalibrierwert
* als ersten Datentransfer durchführt und alle weiteren einen Offset haben. */
LL_ADC_StartCalibration(ADC1); LL_ADC_StartCalibration(ADC1);
while(LL_ADC_IsCalibrationOnGoing(ADC1)) while(LL_ADC_IsCalibrationOnGoing(ADC1))
{ {