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.3][ESP32]: increment the total operational hours inline without log (#37058) #37068

Merged

Conversation

shubhamdp
Copy link
Contributor

Backports #37058 to v1.3-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]>
Copy link

Review changes with  SemanticDiff

@andy31415 andy31415 merged commit 593d5c6 into project-chip:v1.3-branch Jan 16, 2025
65 of 67 checks passed
@shubhamdp shubhamdp deleted the esp32-fix-total-op-hrs-1-3 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