Fixed regression.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13361 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
4c56ee69c6
commit
c6a23722ab
|
@ -68,7 +68,7 @@ static void adc_lld_stop_adc(ADC_TypeDef *adc) {
|
||||||
adc->CR |= ADC_CR_ADSTP;
|
adc->CR |= ADC_CR_ADSTP;
|
||||||
while (adc->CR & ADC_CR_ADSTP)
|
while (adc->CR & ADC_CR_ADSTP)
|
||||||
;
|
;
|
||||||
adcp->adc->IER = 0;
|
adc->IER = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue