risc-v/espressif: Fix empty cpuint number

This commit is contained in:
Eren Terzioglu 2024-03-29 17:03:39 +03:00 committed by Alan Carvalho de Assis
parent 9520edeb16
commit 19b58a78da
1 changed files with 1 additions and 1 deletions

View File

@ -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.