Skip to content

Commit bdb38d8

Browse files
authored
update interrupt vector names for ATMega32 (#196)
1 parent 94ffcac commit bdb38d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

portable/GCC/ATMega323/port.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ uint8_t ucHighByte, ucLowByte;
402402
* the context is saved at the start of vPortYieldFromTick(). The tick
403403
* count is incremented after the context is saved.
404404
*/
405-
void SIG_OUTPUT_COMPARE1A( void ) __attribute__ ( ( signal, naked ) );
406-
void SIG_OUTPUT_COMPARE1A( void )
405+
void TIMER1_COMPA_vect( void ) __attribute__ ( ( signal, naked ) );
406+
void TIMER1_COMPA_vect( void )
407407
{
408408
vPortYieldFromTick();
409409
asm volatile ( "reti" );
@@ -415,8 +415,8 @@ uint8_t ucHighByte, ucLowByte;
415415
* tick count. We don't need to switch context, this can only be done by
416416
* manual calls to taskYIELD();
417417
*/
418-
void SIG_OUTPUT_COMPARE1A( void ) __attribute__ ( ( signal ) );
419-
void SIG_OUTPUT_COMPARE1A( void )
418+
void TIMER1_COMPA_vect( void ) __attribute__ ( ( signal ) );
419+
void TIMER1_COMPA_vect( void )
420420
{
421421
xTaskIncrementTick();
422422
}

0 commit comments

Comments
 (0)