Skip to content
Commit 8f539523 authored by Emil Lindqvist's avatar Emil Lindqvist Committed by Christopher Friedt
Browse files

logging: fix timestamp func overwrite on log2



When LOG2 is enabled, timestamp func which was just set
according to various conditions, is overwritten using sysclock.
Since sysclock is very fast, it will cause uint32_t to wrap very
fast and cause the time to start over from 0 often.

This commit combines the two statements doing the same thing,
to one statement.

Signed-off-by: default avatarEmil Lindqvist <emil@lindq.gr>
parent 22fc9853
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment