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: I2C EEPROM initialization not working properly #235

Open
nielsonm236 opened this issue Oct 8, 2024 · 0 comments
Open

Bug: I2C EEPROM initialization not working properly #235

nielsonm236 opened this issue Oct 8, 2024 · 0 comments

Comments

@nielsonm236
Copy link
Owner

While performing some code examination I found a bug in calls to the "copy_STM8_bytes_to_I2C_EEPROM()" function. Those calls were intended to perform I2C EEPROM "fill with 0" or fill with some other constant as part of initialization of those I2C EEPROM areas. Instead the calls were filling the first byte with the constant, and the remaining were writes had random data. I wrote a new function "init_I2C_EEPROM()" to implement the intended outcome. I may combine these later if it results in code space savings.

I'm not sure this was causing any user issues. The fix will be included in the next major release.

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

1 participant