Commit 1647ad5c authored by Simon Tomschik's avatar Simon Tomschik Committed by Mahesh Mahadevan
Browse files

timing: fix ARM Cortex-M timing functions wrap-around issue



Added casts to uint32_t in arch_timing_cycles_get() to handle the
wrap-around of the 32-bit cycle counter correctly.

Signed-off-by: default avatarSimon Tomschik <simon.tomschik@askgroup.global>
parent 5ee9d7a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment