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 EEPROM loading code #6384

Merged
merged 2 commits into from
Dec 6, 2020
Merged

Fix EEPROM loading code #6384

merged 2 commits into from
Dec 6, 2020

Conversation

digitalentity
Copy link
Member

Fixes potential hardfault when findEEPROM() attempts to read beyond __config_end. Restores a missing check to ensureEEPROMContainsValidData() to do a pre-check of EEPROM before attempting to load it.

Fixes #6382

@stronnag
Copy link
Collaborator

stronnag commented Dec 6, 2020

The MATEKF405 that previously didn't boot is now booting again.

@digitalentity digitalentity merged commit 2b659d2 into master Dec 6, 2020
@digitalentity digitalentity deleted the de_eeprom_fix branch December 6, 2020 14:16
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.

WINGFC doesn't boot in master (likely H7 regression)
2 participants