diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-26 14:20:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-26 14:20:26 +0000 |
commit | dedffdd99c7b04a7440f86b387a5d8c92eac413a (patch) | |
tree | 0bbda311f93da9374e1f042ec1996cb744105b4c /os | |
parent | 27cef0f6e1b6b23ab0b2e53722576a4c4f22e80a (diff) | |
download | ChibiOS-dedffdd99c7b04a7440f86b387a5d8c92eac413a.tar.gz ChibiOS-dedffdd99c7b04a7440f86b387a5d8c92eac413a.tar.bz2 ChibiOS-dedffdd99c7b04a7440f86b387a5d8c92eac413a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5331 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/src/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/adc.c b/os/hal/src/adc.c index e37e6b16b..412e407ae 100644 --- a/os/hal/src/adc.c +++ b/os/hal/src/adc.c @@ -285,7 +285,7 @@ msg_t adcConvert(ADCDriver *adcp, chSysLock();
chDbgAssert(adcp->thread == NULL, "adcConvert(), #1", "already waiting");
adcStartConversionI(adcp, grpp, samples, depth);
- (adcp)->thread = chThdSelf();
+ adcp->thread = chThdSelf();
chSchGoSleepS(THD_STATE_SUSPENDED);
msg = chThdSelf()->p_u.rdymsg;
chSysUnlock();
|