diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-28 20:09:14 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-28 20:09:14 +0000 |
commit | 2f43c85736e70a59c0b3675d01d4ddc521223263 (patch) | |
tree | 312060e283988e77427e6ca7a2527f8d99df1701 /os/hal/platforms/STM32/adc_lld.c | |
parent | eb2bcc41f222ebb876e25eec3642dce3cdf0236e (diff) | |
download | ChibiOS-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.c | 2 |
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();
|