correct pic DATA addr

This commit is contained in:
Mathieu Maret 2018-07-13 14:14:14 +02:00
parent 4120e56f82
commit 6aeafc622b
2 changed files with 2 additions and 2 deletions

2
pic.h
View File

@ -11,7 +11,7 @@
#define PIC_MASTER_CMD 0x20 #define PIC_MASTER_CMD 0x20
#define PIC_SLAVE_CMD 0xa0 #define PIC_SLAVE_CMD 0xa0
#define PIC_MASTER_DATA 0x21 #define PIC_MASTER_DATA 0x21
#define PIC_SLAVE_DATA 0xa0 #define PIC_SLAVE_DATA 0xa1
void initPic(void); void initPic(void);
void enableIrq(int irq); void enableIrq(int irq);