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

heatshrink_encoder_sink doesn't behave as documented #66

Open
notEvil opened this issue Jun 8, 2021 · 0 comments
Open

heatshrink_encoder_sink doesn't behave as documented #66

notEvil opened this issue Jun 8, 2021 · 0 comments
Milestone

Comments

@notEvil
Copy link

notEvil commented Jun 8, 2021

Hi,

for sink the Readme states "If 0 bytes were conusmed, the buffer is full." (with typo). However the function complains about misuse instead

if (hse->state != HSES_NOT_FULL) { return HSER_SINK_ERROR_MISUSE; }

@notEvil notEvil changed the title heatshrink_encoder_poll doesn't behave as documented heatshrink_encoder_sink doesn't behave as documented Jun 8, 2021
@silentbicycle silentbicycle added this to the 0.4.2 milestone Jun 8, 2021
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