Fixed bug 3576771.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4758 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2012-10-13 11:01:46 +00:00
parent c78662c143
commit 5ababb428e
2 changed files with 7 additions and 0 deletions

View File

@ -133,6 +133,7 @@ int _close_r(struct _reent *r, int file)
caddr_t _sbrk_r(struct _reent *r, int incr)
{
#if CH_USE_MEMCORE
void *p;
chDbgCheck(incr > 0, "_sbrk_r");
@ -144,6 +145,10 @@ caddr_t _sbrk_r(struct _reent *r, int incr)
return (caddr_t)-1;
}
return (caddr_t)p;
#else
__errno_r(r) = ENOMEM;
return (caddr_t)-1;
#endif
}
/***************************************************************************/

View File

@ -83,6 +83,8 @@
*****************************************************************************
*** 2.5.1 ***
- FIX: Fixed compilation issue in syscalls.c (bug 3576771)(backported
to 2.4.3).
- FIX: Fixed Typos in STM32F0xx EXT driver (bug 3576193).
- FIX: Fixed STM32F10X_CL: Wrong CAN1 interrupt number definitions (bug
3575766).