Tidy up, starting to get ready for next release.

This commit is contained in:
Richard Barry 2009-10-04 17:59:49 +00:00
parent a7462db433
commit ee5608ddc2
4 changed files with 5 additions and 18 deletions

View file

@ -151,12 +151,11 @@ portSTACK_TYPE *pxOriginalTOS;
system mode, with interrupts enabled. */
*pxTopOfStack = ( portSTACK_TYPE ) portINITIAL_SPSR;
#ifdef THUMB_INTERWORK
if( ( ( unsigned long ) pxCode & 0x01UL ) != 0x00 )
{
/* We want the task to start in thumb mode. */
*pxTopOfStack |= portTHUMB_MODE_BIT;
}
#endif
pxTopOfStack--;