Revision 91
binary shenanigans to reduce code
mouse.c | ||
---|---|---|
39 | 39 |
|
40 | 40 |
/// This does not run if: I was expecting the first one but what I get is definitely not the first byte |
41 | 41 |
if((byte & FIRST_BYTE_ID) || counter_mouse_ih){ |
42 |
packet_mouse_ih[counter_mouse_ih] = byte; |
|
43 |
counter_mouse_ih++; |
|
42 |
packet_mouse_ih[counter_mouse_ih++] = byte; |
|
44 | 43 |
} |
45 | 44 |
} |
46 | 45 |
|
Also available in: Unified diff