Fixed bug 3205410.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.2.x@2825 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
aa6802f223
commit
0d142fc933
|
@ -278,7 +278,7 @@ msg_t adcConvert(ADCDriver *adcp,
|
|||
msg_t msg;
|
||||
|
||||
chSysLock();
|
||||
chDbgAssert(grpp->acg_endcb == NULL, "adcConvert(), #1", "has callback");
|
||||
chDbgAssert(adcp->ad_thread == NULL, "adcConvert(), #1", "already waiting");
|
||||
adcStartConversionI(adcp, grpp, samples, depth);
|
||||
(adcp)->ad_thread = chThdSelf();
|
||||
chSchGoSleepS(THD_STATE_SUSPENDED);
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.2.3 ***
|
||||
- FIX: Fixed invalid assertion in adcConvert() (bug 3205410).
|
||||
- NEW: Improved preemption implementation for the Cortex-M0, now it uses
|
||||
the NMI vector in order to restore the original context. The change makes
|
||||
IRQ handling faster and also saves some RAM/ROM space. The GCC port code
|
||||
|
|
Loading…
Reference in New Issue