Recheck integrity of systick_get_us()
The following discussion from !324 (merged) should be addressed:
-
@schneider started a discussion: (+2 comments) Do you know how long this keeps interrupts disabled?
The function might behave incorrectly if an overflow happens just at the wrong time. Recheck whether this is the case (might be solvable by simply reordering the volatile reads).