include: Use macro BIT for shift operations
Use a macro BIT when dealing with bit shift operations. MISRA-C rule 10.1 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
a996203739
commit
95eb2b4fed
12 changed files with 38 additions and 38 deletions
|
@ -56,7 +56,7 @@ struct _isr_list {
|
|||
};
|
||||
|
||||
/** This interrupt gets put directly in the vector table */
|
||||
#define ISR_FLAG_DIRECT (1 << 0)
|
||||
#define ISR_FLAG_DIRECT BIT(0)
|
||||
|
||||
#define _MK_ISR_NAME(x, y) __isr_ ## x ## _irq_ ## y
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue