mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Tidy up, starting to get ready for next release.
This commit is contained in:
parent
a7462db433
commit
ee5608ddc2
4 changed files with 5 additions and 18 deletions
|
@ -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--;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue