diff --git a/portable/GCC/ATMega323/port.c b/portable/GCC/ATMega323/port.c index 3aa55c383..47f645532 100644 --- a/portable/GCC/ATMega323/port.c +++ b/portable/GCC/ATMega323/port.c @@ -402,8 +402,8 @@ uint8_t ucHighByte, ucLowByte; * the context is saved at the start of vPortYieldFromTick(). The tick * count is incremented after the context is saved. */ - void SIG_OUTPUT_COMPARE1A( void ) __attribute__ ( ( signal, naked ) ); - void SIG_OUTPUT_COMPARE1A( void ) + void TIMER1_COMPA_vect( void ) __attribute__ ( ( signal, naked ) ); + void TIMER1_COMPA_vect( void ) { vPortYieldFromTick(); asm volatile ( "reti" ); @@ -415,8 +415,8 @@ uint8_t ucHighByte, ucLowByte; * tick count. We don't need to switch context, this can only be done by * manual calls to taskYIELD(); */ - void SIG_OUTPUT_COMPARE1A( void ) __attribute__ ( ( signal ) ); - void SIG_OUTPUT_COMPARE1A( void ) + void TIMER1_COMPA_vect( void ) __attribute__ ( ( signal ) ); + void TIMER1_COMPA_vect( void ) { xTaskIncrementTick(); }