From: rtel Date: Mon, 16 Jun 2014 13:07:01 +0000 (+0000) Subject: Update timer demo in PIC32MZ demo to remove multiple extern definition created by... X-Git-Tag: V8.1.0~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6051e1e583833abf781c695b95f61f4d4d5e8d6;p=freertos 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2265 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/FreeRTOS/Demo/PIC32MZ_MPLAB/timertest.c b/FreeRTOS/Demo/PIC32MZ_MPLAB/timertest.c index c2c829c7d..d186dc43b 100644 --- a/FreeRTOS/Demo/PIC32MZ_MPLAB/timertest.c +++ b/FreeRTOS/Demo/PIC32MZ_MPLAB/timertest.c @@ -117,7 +117,6 @@ void vSetupTimerTest( unsigned short usFrequencyHz ) void vT2InterruptHandler( void ) { -extern unsigned long uxInterruptNesting; static unsigned long ulMaxNestingDepth = 0; /* Keep a count of interrupts so the check timer can ensure they are