fix bitshift in irq mask

This commit is contained in:
cyberman54 2021-01-09 23:52:29 +01:00
parent 241a19148b
commit 69a6216665

View File

@ -1,16 +1,16 @@
#ifndef _IRQHANDLER_H
#define _IRQHANDLER_H
#define DISPLAY_IRQ _bitl(1)
#define BUTTON_IRQ _bitl(2)
#define SENDCYCLE_IRQ _bitl(3)
#define CYCLIC_IRQ _bitl(4)
#define TIMESYNC_IRQ _bitl(5)
#define MASK_IRQ _bitl(6)
#define UNMASK_IRQ _bitl(7)
#define BME_IRQ _bitl(8)
#define MATRIX_DISPLAY_IRQ _bitl(9)
#define PMU_IRQ _bitl(10)
#define DISPLAY_IRQ _bitl(0)
#define BUTTON_IRQ _bitl(1)
#define SENDCYCLE_IRQ _bitl(2)
#define CYCLIC_IRQ _bitl(3)
#define TIMESYNC_IRQ _bitl(4)
#define MASK_IRQ _bitl(5)
#define UNMASK_IRQ _bitl(6)
#define BME_IRQ _bitl(7)
#define MATRIX_DISPLAY_IRQ _bitl(8)
#define PMU_IRQ _bitl(9)
#include "globals.h"
#include "button.h"