Skip to content

Conversation

joelguittet
Copy link
Owner

The purpose of this Pull-Request is to fix an issue while changing timer period on Zephyr targets.

The k_timer_start function allows to change the period of the timer even if it is already running. However, this is not possible if the duration is K_FOREVER (not mentioned in Zephyr doc, only in the code).

As a consequence the updates were checked with period CONFIG_MENDER_CLIENT_AUTHENTICATION_POLL_INTERVAL instead of CONFIG_MENDER_CLIENT_UPDATE_POLL_INTERVAL.

@joelguittet joelguittet self-assigned this Sep 6, 2025
@joelguittet joelguittet added the bug Something isn't working label Sep 6, 2025
Copy link

sonarqubecloud bot commented Sep 6, 2025

@joelguittet joelguittet merged commit 3eb0df8 into master Sep 6, 2025
6 checks passed
@joelguittet joelguittet deleted the fix/platform-zephyr-scheduler-timer-period branch September 6, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant