Skip to content
Snippets Groups Projects
Commit b22aa57a authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard
Browse files

hidclass.sys: Only return new reports when reading data from ringbuffer.

parent 74a79a77
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ UINT RingBuffer_AddPointer(struct ReportRingBuffer *ring)
for( ;count < ring->pointer_alloc; count++)
ring->pointers[count] = POINTER_UNUSED;
}
ring->pointers[idx] = ring->start;
ring->pointers[idx] = ring->end;
LeaveCriticalSection(&ring->lock);
return idx;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment