diff options
Diffstat (limited to 'GCC/AVR_AVRDx/port.c')
-rw-r--r-- | GCC/AVR_AVRDx/port.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/GCC/AVR_AVRDx/port.c b/GCC/AVR_AVRDx/port.c index fd3e293..3dcceb8 100644 --- a/GCC/AVR_AVRDx/port.c +++ b/GCC/AVR_AVRDx/port.c @@ -159,20 +159,6 @@ void vPortYield( void ) /*-----------------------------------------------------------*/ /* - * Manual context switch callable from ISRs. The first thing - * we do is save the registers so we can use a naked attribute. - */ -void vPortYieldFromISR( void ) __attribute__( ( naked ) ); -void vPortYieldFromISR( void ) -{ - portSAVE_CONTEXT(); - vTaskSwitchContext(); - portRESTORE_CONTEXT(); - asm volatile ( "reti" ); -} -/*-----------------------------------------------------------*/ - -/* * Context switch function used by the tick. This must be identical to * vPortYield() from the call to vTaskSwitchContext() onwards. The only * difference from vPortYield() is the tick count is incremented as the |