Skip to content

Commit 19b58a7

Browse files
eren-terziogluacassis
authored andcommitted
risc-v/espressif: Fix empty cpuint number
1 parent 9520ede commit 19b58a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/risc-v/src/common/espressif/esp_irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static int esp_cpuint_alloc(int irq)
153153
{
154154
uint32_t bitmask;
155155
uint32_t intset;
156-
int cpuint;
156+
int cpuint = ESP_NCPUINTS;
157157

158158
/* Check if there are CPU interrupts with the requested properties
159159
* available.

0 commit comments

Comments
 (0)