Fixed bug 3190512.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2761 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2011-02-23 20:24:05 +00:00
parent 658872aee0
commit a55d3c6e6b
2 changed files with 2 additions and 2 deletions

View File

@ -75,10 +75,8 @@ void *chPoolAllocI(MemoryPool *mp) {
if ((objp = mp->mp_next) != NULL) if ((objp = mp->mp_next) != NULL)
mp->mp_next = mp->mp_next->ph_next; mp->mp_next = mp->mp_next->ph_next;
#if CH_USE_MEMCORE
else if (mp->mp_provider != NULL) else if (mp->mp_provider != NULL)
objp = mp->mp_provider(mp->mp_object_size); objp = mp->mp_provider(mp->mp_object_size);
#endif
return objp; return objp;
} }

View File

@ -69,6 +69,8 @@
***************************************************************************** *****************************************************************************
*** 2.3.0 *** *** 2.3.0 ***
- FIX: Fixed minor problem with memory pools (bug 3190512)(backported to
2.2.1).
- FIX: Stack overflow in CM0 ports when nearing interrupts saturation (bug - FIX: Stack overflow in CM0 ports when nearing interrupts saturation (bug
3187105)(backported to 2.2.1). 3187105)(backported to 2.2.1).
- FIX: Fixed error in _BSEMAPHORE_DATA macro (bug 3184139)(backported to - FIX: Fixed error in _BSEMAPHORE_DATA macro (bug 3184139)(backported to