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

Deltadore X3D - Fixed wrong struct size #3180

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/devices/deltadore_x3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static uint8_t deltadore_x3d_parse_message_payload(uint8_t *buffer, struct delta
out->register_high = *buffer++;
out->register_low = *buffer++;
out->target_ack = deltadore_x3d_read_le_u16(&buffer);
return sizeof(struct deltadore_x3d_message_payload);
return 12;
}

static int deltadore_x3d_decode(r_device *decoder, bitbuffer_t *bitbuffer)
Expand Down
Loading