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

Missing Comma in __UVCTypeComponentTypeString String LIst #20

Closed
TroikaTronix opened this issue Feb 26, 2024 · 1 comment
Closed

Missing Comma in __UVCTypeComponentTypeString String LIst #20

TroikaTronix opened this issue Feb 26, 2024 · 1 comment

Comments

@TroikaTronix
Copy link

In the static llist of strings __UVCTypeComponentTypeString defined in UVCType.m, there should be a command after "M1" -- otherwise "M1" will be concatenated with the next line's "S2" and the number of items in the list will not be 14 as it should.

This is the corrected version

  static const char* typeStrings[] = {
                        "<invalid>",
                        "B",
                        "S1",
                        "U1",
                        "M1", // added comma here
                        "S2",
                        "U2",
                        "M2",
                        "S4",
                        "U4",
                        "M4",
                        "S8",
                        "U8",
                        "M8"
                      };
jtfrey added a commit that referenced this issue Feb 26, 2024
Fixed missing comma noted in issue #20
@jtfrey jtfrey mentioned this issue Feb 26, 2024
jtfrey added a commit that referenced this issue Feb 26, 2024
Fixed missing comma noted in issue #20
@jtfrey
Copy link
Owner

jtfrey commented Feb 26, 2024

Thank you for reporting this. See pull request #21

@jtfrey jtfrey closed this as completed Feb 26, 2024
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

No branches or pull requests

2 participants