aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/adc_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-28 20:09:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-28 20:09:14 +0000
commit2f43c85736e70a59c0b3675d01d4ddc521223263 (patch)
tree312060e283988e77427e6ca7a2527f8d99df1701 /os/hal/platforms/STM32/adc_lld.c
parenteb2bcc41f222ebb876e25eec3642dce3cdf0236e (diff)
downloadChibiOS-2f43c85736e70a59c0b3675d01d4ddc521223263.tar.gz
ChibiOS-2f43c85736e70a59c0b3675d01d4ddc521223263.tar.bz2
ChibiOS-2f43c85736e70a59c0b3675d01d4ddc521223263.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1339 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/adc_lld.c')
-rw-r--r--os/hal/platforms/STM32/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/adc_lld.c b/os/hal/platforms/STM32/adc_lld.c
index 2562988f5..abfdb0a43 100644
--- a/os/hal/platforms/STM32/adc_lld.c
+++ b/os/hal/platforms/STM32/adc_lld.c
@@ -75,7 +75,7 @@ CH_IRQ_HANDLER(Vector6C) {
/* End conversion.*/
adc_lld_stop_conversion(&ADCD1);
ADCD1.ad_grpp = NULL;
- ADCD1.ad_state = ADC_READY;
+ ADCD1.ad_state = ADC_COMPLETE;
chSysLockFromIsr();
chSemResetI(&ADCD1.ad_sem, 0);
chSysUnlockFromIsr();