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

[v1.4][ESP32]: increment the total operational hours inline without log (#37058) #37069

Merged

Conversation

shubhamdp
Copy link
Contributor

Backport #37058 to v1.4-branch

…oject-chip#37058)

* [ESP32]: increment the total operational hours inline without log

Since total-operational-hours is a critical information, it
intentionally uses the FreeRTOS timer to increment the values, so that
it should not be a victim of PostEvent failures.

Earlier it used to call WriteConfigValues which has the ChipLogProgress
and logging from the timer stack may overflow the timer stack. So,
inlined the implementation which do not log.

* Restyled by clang-format

* add reasoning behind the change as comment

---------

Co-authored-by: Restyled.io <[email protected]>
@shubhamdp shubhamdp requested a review from a team as a code owner January 15, 2025 07:12
Copy link

Review changes with  SemanticDiff

@andy31415 andy31415 merged commit c056376 into project-chip:v1.4-branch Jan 16, 2025
69 checks passed
@shubhamdp shubhamdp deleted the esp32-fix-total-op-hrs-1-4 branch January 16, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants