Skip to content

Commit

Permalink
risc-v/espressif: Fix empty cpuint number
Browse files Browse the repository at this point in the history
  • Loading branch information
eren-terzioglu authored and acassis committed Apr 2, 2024
1 parent 9520ede commit 19b58a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/risc-v/src/common/espressif/esp_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 19b58a7

Please sign in to comment.