drivers: added missing parenthesis
- added missing parenthesis around macro argument expansion Signed-off-by: frei tycho <tfrei@baumer.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include <zephyr/irq.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)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user