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.

pull/4/head
Richard Barry 11 years ago
parent 42b1688a30
commit 4ce4de750a

@ -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

Loading…
Cancel
Save