Skip to content
Commit bd2eb48c authored by Emil Lindqvist's avatar Emil Lindqvist Committed by Carles Cufí
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 96721803
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment