aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 18:41:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 18:41:12 +0000
commit1de70ad9c8dc8eb91837dbb1ae81fb0817a5159b (patch)
treeea718fefd849bd97c7b4af44783fab05c736334f /os
parentfeba444df5aacdb50c02f731e45fe5bdb0ac64f9 (diff)
downloadChibiOS-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')
-rw-r--r--os/hal/include/adc.h2
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; \
} \
}