Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 186b9e44 authored by Robert Wu's avatar Robert Wu
Browse files

USB MIDI: Reset counter after unique codes full

Some tests continously plug and unplug MIDI devices.
After 1000 operations, there is an infinite while loop.

This CL clears up the hashset if it is nearly full.

Bug: 234688233
Test: Plug and unplug MIDI devices
Change-Id: Ie0c6359c07694e3f6cc4a3011fd39a525314ab94
parent 9ff3c6b6
Loading
Loading
Loading
Loading
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