Skip to content

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

@nielsonm236

Description

@nielsonm236

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions