Skip to content

Conversation

@quic-aditrath
Copy link
Contributor

Replace CLOCK_BOOTTIME with CLOCK_MONOTONIC in timer functions when building for Zephyr platform to ensure compatibility with Zephyr's POSIX API implementation.

CLOCK_BOOTTIME is not defined in Zephyr's POSIX compatibility layer, causing compilation failures. CLOCK_MONOTONIC provides equivalent monotonic time functionality and is available in Zephyr's clock API.

Replace CLOCK_BOOTTIME with CLOCK_MONOTONIC in timer functions when
building for Zephyr platform to ensure compatibility with Zephyr's
POSIX API implementation.

CLOCK_BOOTTIME is not defined in Zephyr's POSIX compatibility layer,
causing compilation failures. CLOCK_MONOTONIC provides equivalent
monotonic time functionality and is available in Zephyr's clock API.

Signed-off-by: Aditya Rathi <[email protected]>
@quic-aditrath quic-aditrath requested review from a team January 29, 2026 09:55
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

Successfully merging this pull request may close these issues.

1 participant