Skip to content

Fix device list not being updated - #38

Draft
dsouza95 wants to merge 1 commit into
serenadeai:masterfrom
iarahealth:bugfix/update-devices
Draft

Fix device list not being updated#38
dsouza95 wants to merge 1 commit into
serenadeai:masterfrom
iarahealth:bugfix/update-devices

Conversation

@dsouza95

Copy link
Copy Markdown

This draft PR fixes #36. By calling PA_terminate on every GetDevices call, we ensure the device list is properly updated. I modified the devices example to call GetDevices every 5 seconds, so it is easy to add/remove any device and verify this behavior (not sure if that should be another example, or if that is needed at all).

I tested this fix on an Ubuntu 22.04, but didn´t manage to build on my Windows 10 (tried Msys2 MinGW64 and Cygwin). Is there a recommended setup for Windows builds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Device list not being updated

1 participant