diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-21 18:41:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-21 18:41:12 +0000 |
commit | 1de70ad9c8dc8eb91837dbb1ae81fb0817a5159b (patch) | |
tree | ea718fefd849bd97c7b4af44783fab05c736334f /os/hal/include | |
parent | feba444df5aacdb50c02f731e45fe5bdb0ac64f9 (diff) | |
download | ChibiOS-1de70ad9c8dc8eb91837dbb1ae81fb0817a5159b.tar.gz ChibiOS-1de70ad9c8dc8eb91837dbb1ae81fb0817a5159b.tar.bz2 ChibiOS-1de70ad9c8dc8eb91837dbb1ae81fb0817a5159b.zip |
Fixed bug 3114696.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2412 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/adc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/adc.h b/os/hal/include/adc.h index aee876978..48f9d9ff6 100644 --- a/os/hal/include/adc.h +++ b/os/hal/include/adc.h @@ -190,7 +190,6 @@ typedef enum { } \
} \
else { \
- (adcp)->ad_grpp = NULL; \
/* End conversion.*/ \
adc_lld_stop_conversion(adcp); \
if ((adcp)->ad_grpp->acg_endcb == NULL) { \
@@ -212,6 +211,7 @@ typedef enum { if ((adcp)->ad_state == ADC_COMPLETE) \
(adcp)->ad_state = ADC_READY; \
} \
+ (adcp)->ad_grpp = NULL; \
} \
}
|