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

buffer size is incorrect #49

Open
bnickodemus opened this issue Jul 27, 2023 · 0 comments
Open

buffer size is incorrect #49

bnickodemus opened this issue Jul 27, 2023 · 0 comments

Comments

@bnickodemus
Copy link

buffer size is incorrect on this line:
https://github.com/dronecan/libcanard/blob/master/examples/ESCNode/esc_node.c#L510

uint8_t buffer[UAVCAN_PROTOCOL_GETNODEINFO_RESPONSE_MAX_SIZE]; // this should be NODESTATUS_MAX_SIZE (which is 7 instead of 377)

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