Revision 84
fixed packet in reading 0 packets
lab4/lab4.c | ||
---|---|---|
49 | 49 |
|
50 | 50 |
if (subscribe_mouse_interrupt(mouse_irq_bit, &mouse_id)) return 1; |
51 | 51 |
/// cycle |
52 |
int good = 1;
|
|
52 |
int good = cnt != 0;
|
|
53 | 53 |
uint32_t cnt_now = 0; |
54 | 54 |
while (good) { |
55 | 55 |
/* Get a request message. */ |
Also available in: Unified diff