]> granicus.if.org Git - esp-idf/commitdiff
Remove redundant volatile keyword
authorJeroen Domburg <git@j0h.nl>
Mon, 31 Oct 2016 03:00:27 +0000 (11:00 +0800)
committerJeroen Domburg <git@j0h.nl>
Mon, 31 Oct 2016 03:00:27 +0000 (11:00 +0800)
components/esp32/crosscore_int.c

index 78287d405e6f875ca9ef26d5ccfafaf4ee09d39c..60a45da402c9a8a980520fa57901542cd573092e 100644 (file)
@@ -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;