mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -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();
|
portRESTORE_CONTEXT();
|
||||||
|
|
||||||
__asm__ __volatile__ ( "reti" );
|
__asm__ __volatile__ ( "ret" );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
@ -751,6 +751,7 @@ uint8_t ucLowByte;
|
||||||
ISR(portSCHEDULER_ISR)
|
ISR(portSCHEDULER_ISR)
|
||||||
{
|
{
|
||||||
vPortYieldFromTick();
|
vPortYieldFromTick();
|
||||||
|
__asm__ __volatile__ ( "reti" );
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue