mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
Only init crosscore when FreeRTOS runs in multicore mode, add warnings that cross_int calls are private.
This commit is contained in:
@@ -49,8 +49,8 @@ static void esp_crosscore_isr(void *arg) {
|
||||
//A pointer to the correct reason array item is passed to this ISR.
|
||||
volatile uint32_t *myReason=arg;
|
||||
#else
|
||||
//Does not work yet, the interrupt code needs work to understand two separate interrupt and argument
|
||||
//tables...
|
||||
//The previous line does not work yet, the interrupt code needs work to understand two separate interrupt and argument
|
||||
//tables... this is a valid but slightly less optimal replacement.
|
||||
volatile uint32_t *myReason=&reason[xPortGetCoreID()];
|
||||
#endif
|
||||
//Clear the interrupt first.
|
||||
|
Reference in New Issue
Block a user