Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gRPC ID when registering empty enums #336

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

pratheekshasn
Copy link
Collaborator

Fix for #312.

While registering enum metadata, if there were zero elements in the metadata array, the loop would never run, and the gRPC ID wire that tunnels out of the loop no longer has its original value.

Fixing this by changing the tunnel to shift registers.

Changes made in Register Enum Metadata.vi:

Before After
image image

@pratheekshasn pratheekshasn merged commit 34ad2a2 into ni:master Jan 10, 2024
5 checks passed
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.

2 participants