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:
Flavio Ceolin 2019-03-08 12:35:46 -08:00 committed by Anas Nashif
commit 95eb2b4fed
12 changed files with 38 additions and 38 deletions

View file

@ -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