Kommentare ergänzt
This commit is contained in:
parent
f501e0cbd9
commit
67f34372ed
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user