drivers: added missing parenthesis
- added missing parenthesis around macro argument expansion Signed-off-by: frei tycho <tfrei@baumer.com>
This commit is contained in:
parent
8433268043
commit
caf332e745
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
#include <zephyr/irq.h>
|
#include <zephyr/irq.h>
|
||||||
#include <zephyr/linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
#define IS_IOAPIC_IRQ(irq) (irq < z_loapic_irq_base())
|
#define IS_IOAPIC_IRQ(irq) ((irq) < z_loapic_irq_base())
|
||||||
#define HARDWARE_IRQ_LIMIT ((z_loapic_irq_base() + LOAPIC_IRQ_COUNT) - 1)
|
#define HARDWARE_IRQ_LIMIT ((z_loapic_irq_base() + LOAPIC_IRQ_COUNT) - 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue