mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 00:57:44 -04:00
ATmegaxxxx - reti fix
This commit is contained in:
parent
16f96a8f33
commit
7b02dd55b6
1 changed files with 2 additions and 1 deletions
|
@ -678,7 +678,7 @@ void vPortYieldFromTick( void )
|
|||
}
|
||||
portRESTORE_CONTEXT();
|
||||
|
||||
__asm__ __volatile__ ( "reti" );
|
||||
__asm__ __volatile__ ( "ret" );
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -751,6 +751,7 @@ uint8_t ucLowByte;
|
|||
ISR(portSCHEDULER_ISR)
|
||||
{
|
||||
vPortYieldFromTick();
|
||||
__asm__ __volatile__ ( "reti" );
|
||||
}
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue