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

Structs that have characters or unsigned 8-bit ints in them result in a write error #8

Open
willzeller opened this issue Sep 8, 2021 · 0 comments

Comments

@willzeller
Copy link

willzeller commented Sep 8, 2021

This struct will results in an error code 5 if you send it to GPMFWriteStreamStore

#define STRUCT_KEY "Ffc"

typedef struct{
    uint32_t test;
    float f;
    char c;
}test_struct_t;

This one runs fine:

#define STRUCT_KEY "Ff"

typedef struct{
    uint32_t test;
    float f;
}test_struct_t;

Structs containing a uint8_t have the same error, I haven't tested with all the possible datatypes.

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

1 participant