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

Bug fix: Crash when number of mcumgr buffers is set to 0 #55

Merged
merged 1 commit into from
May 13, 2022

Conversation

philips77
Copy link
Member

This PR fixes a crash caused by setting number of buffers to 0.
Also, the windowCapacity value set in FirmwareUpgradeManager is now set to number of buffers -1, as 1 buffer is needed for sending responses.

@philips77 philips77 merged commit 2c67b06 into main May 13, 2022
@philips77 philips77 deleted the bugfix/crash-window-capacity-0 branch May 13, 2022 14:04
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

Successfully merging this pull request may close these issues.

1 participant