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

Fixed excess data coming from uninitialized variable in esp_efuse_get_pkg_ver (IDFGH-976) #3309

Closed
wants to merge 1 commit into from

Conversation

badcf00d
Copy link
Contributor

The call to esp_efuse_read_field_blob only seems to set the 3 last bits of pkg_ver. So the other uninitialised 29 bits in pkg_ver gets returned.

Before: 1073677826 (in binary) 111111111111110000011000000010, note the last 3 bits are correct
After: 2

@github-actions github-actions bot changed the title Fixed excess data coming from uninitialized variable in esp_efuse_get_pkg_ver Fixed excess data coming from uninitialized variable in esp_efuse_get_pkg_ver (IDFGH-976) Apr 15, 2019
@KonstantinKondrashov
Copy link
Collaborator

Thanks, @Frosticles. It has picked into our internal repo. It will be merged with master ASAP.

igrr pushed a commit that referenced this pull request Apr 16, 2019
Fixed esp_efuse_get_pkg_ver() function

Closes: #3309
Closes: IDFGH-976
@igrr igrr closed this in 0e69a7e Apr 17, 2019
0xFEEDC0DE64 pushed a commit to 0xFEEDC0DE64/esp-idf that referenced this pull request May 5, 2021
* move scripts and tone down travis

* Update and rename main.yml to push.yml

* Create release.yml
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.

None yet

2 participants