risc-v/espressif: Fix empty cpuint number
This commit is contained in:
parent
9520edeb16
commit
19b58a78da
|
@ -153,7 +153,7 @@ static int esp_cpuint_alloc(int irq)
|
|||
{
|
||||
uint32_t bitmask;
|
||||
uint32_t intset;
|
||||
int cpuint;
|
||||
int cpuint = ESP_NCPUINTS;
|
||||
|
||||
/* Check if there are CPU interrupts with the requested properties
|
||||
* available.
|
||||
|
|
Loading…
Reference in New Issue