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

Fix factory reset hang/wdt reset #170

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

augustozanellato
Copy link
Contributor

fds_util event handler was ignoring all the events related to peer_manager files and that was causing a deadlock while waiting for record deletion that in turn caused a wdt reset, usually this resulted in a partially done factory reset.
The fix adds a ignore_pm flag to op_info struct that gets cleared by fds_wipe allowing for a true reset to happen.

fds_util event handler was ignoring all the events related to
peer_manager files and that was causing a deadlock while waiting for
record deletion that in turn caused a wdt reset, usually this resulted in
a partially done factory reset.
The fix adds a `ignore_pm` flag to op_info struct that gets cleared by
fds_wipe allowing for a true reset to happen.
@github-actions
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@github-actions
Copy link

github-actions bot commented Oct 12, 2023

Built artifacts for commit b35c1fa

Firmware

Client

@doegox
Copy link
Contributor

doegox commented Oct 13, 2023

ha fantastic! I got the deadlock occasionally without managing to pinpoint the cause.

@doegox doegox merged commit f9be867 into RfidResearchGroup:main Oct 13, 2023
8 checks passed
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.

2 participants