Update timer demo in PIC32MZ demo to remove multiple extern definition created by adding in the macro that checks non ISR safe functions are not called from ISRs.

This commit is contained in:
Richard Barry 2014-06-16 13:07:01 +00:00
parent 42b1688a30
commit 4ce4de750a

View file

@ -117,7 +117,6 @@ void vSetupTimerTest( unsigned short usFrequencyHz )
void vT2InterruptHandler( void ) void vT2InterruptHandler( void )
{ {
extern unsigned long uxInterruptNesting;
static unsigned long ulMaxNestingDepth = 0; static unsigned long ulMaxNestingDepth = 0;
/* Keep a count of interrupts so the check timer can ensure they are /* Keep a count of interrupts so the check timer can ensure they are