mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp_common: fix thread_arch.c for ESP32-S2
This commit is contained in:
parent
b96aac842b
commit
d130f8cc8c
@ -286,7 +286,7 @@ void IRAM_ATTR thread_yield_higher(void)
|
||||
ets_soft_int_type = ETS_SOFT_INT_YIELD;
|
||||
WSR(BIT(ETS_SOFT_INUM), interrupt);
|
||||
critical_exit();
|
||||
#elif defined(CPU_FAM_ESP32)
|
||||
#elif defined(DPORT_CPU_INTR_FROM_CPU_0_REG)
|
||||
/* generate the software interrupt to switch the context */
|
||||
DPORT_WRITE_PERI_REG(DPORT_CPU_INTR_FROM_CPU_0_REG, DPORT_CPU_INTR_FROM_CPU_0);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user