/* The maximum value the 16bit timer can contain. */\r
#define timerMAX_COUNT 0xffff\r
\r
+/* The timer 1 interrupt handler. */\r
+void __attribute__( (interrupt(ipl0), vector(_TIMER_2_VECTOR))) vT2InterruptWrapper( void );\r
\r
/*-----------------------------------------------------------*/\r
\r
\r
/* Setup timer 2 interrupt priority to be above the kernel priority so \r
the timer jitter is not effected by the kernel activity. */\r
- ConfigIntTimer2( T2_INT_ON | ( configKERNEL_INTERRUPT_PRIORITY + 1 ) );\r
+ ConfigIntTimer2( T2_INT_ON | ( configMAX_SYSCALL_INTERRUPT_PRIORITY + 1 ) );\r
\r
/* Clear the interrupt as a starting condition. */\r
IFS0bits.T2IF = 0;\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void __attribute__( (interrupt(ipl0), vector(_TIMER_2_VECTOR))) vT2InterruptHandler( void );\r
void vT2InterruptHandler( void )\r
{\r
static unsigned portLONG ulLastCount = 0, ulSettleCount = 0;\r