util/queue: rename queue to queue_Queue

This commit is contained in:
2021-11-14 18:19:32 +08:00
parent c4b4dbeb18
commit 97e834b8af
4 changed files with 22 additions and 22 deletions

View File

@ -13,8 +13,8 @@
bool pic_ps2_HasMouse;
bool pic_ps2_Mouse4Bytes; // the mouse has 4-byte data packages instead of 3
queue pic_ps2_QueueKeyboard, pic_ps2_QueueMouse;
uint8_t __pic_ps2_QueueBufferK[PIC_PS2_QUEUESIZE_KEYBOARD], __pic_ps2_QueueBufferM[PIC_PS2_QUEUESIZE_MOUSE];
queue_Queue pic_ps2_QueueKeyboard, pic_ps2_QueueMouse;
uint8_t __pic_ps2_QueueBufferK[PIC_PS2_QUEUESIZE_KEYBOARD], __pic_ps2_QueueBufferM[PIC_PS2_QUEUESIZE_MOUSE];
void pic_ps2_Init() {
assert(irq_pic_Enabled && "pic_ps2_Init() requires PIC to be enabled");

View File

@ -59,7 +59,7 @@ extern bool pic_ps2_Mouse4Bytes; // the mouse has 4-byte data packages instead o
#define PIC_PS2_QUEUESIZE_MOUSE 256
// data queue in bytes for the Keyboard and Mouse IRQs
extern queue pic_ps2_QueueKeyboard, irq_pic_ps2_QueueMouse;
extern queue_Queue pic_ps2_QueueKeyboard, irq_pic_ps2_QueueMouse;
#ifdef __cplusplus