Skip to content

Commit 4f74947

Browse files
committed
further ATmegaxxxx port alignment
1 parent 358089f commit 4f74947

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/port.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ void vPortYieldFromTick( void )
529529
}
530530
portRESTORE_CONTEXT();
531531

532-
__asm__ __volatile__ ( "reti" );
532+
__asm__ __volatile__ ( "ret" );
533533
}
534534
/*-----------------------------------------------------------*/
535535

@@ -562,6 +562,7 @@ void prvSetupTimerInterrupt( void )
562562
ISR(portSCHEDULER_ISR)
563563
{
564564
vPortYieldFromTick();
565+
__asm__ __volatile__ ( "reti" );
565566
}
566567
#else
567568

0 commit comments

Comments
 (0)