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

Code Simplification: Reduce complications in check_I2C_EEPROM_ctr and t100ms_ctr usage #233

Open
nielsonm236 opened this issue Aug 19, 2024 · 0 comments

Comments

@nielsonm236
Copy link
Owner

These two counters evolved in usage and end up consuming more RAM than needed as each are uint32_t when they could be uint8_t. The way they are used required a lot of review when simple changes were being made to make sure there were not interactions in the timer / counters. Change: Renamed "check_I2C_EEPROM_ctr" to "I2C_EEPROM_ctr". Renamed "t100ms_ctr" to "restart_reboot_timer", Changed both to uint8_t and made their count processes independent of each other.

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