From: Jeroen Domburg Date: Mon, 31 Oct 2016 03:00:27 +0000 (+0800) Subject: Remove redundant volatile keyword X-Git-Tag: v1.0~95^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90b787636a49fd2f36c6c30e2a57c06303afb20e;p=esp-idf Remove redundant volatile keyword --- diff --git a/components/esp32/crosscore_int.c b/components/esp32/crosscore_int.c index 78287d405e..60a45da402 100644 --- a/components/esp32/crosscore_int.c +++ b/components/esp32/crosscore_int.c @@ -44,7 +44,7 @@ ToDo: There is a small chance the CPU already has yielded when this ISR is servi the ISR will cause it to switch _away_ from it. portYIELD_FROM_ISR will probably just schedule the task again, but have to check that. */ static void esp_crosscore_isr(void *arg) { - volatile uint32_t myReasonVal; + uint32_t myReasonVal; #if 0 //A pointer to the correct reason array item is passed to this ISR. volatile uint32_t *myReason=arg;