Skip to content

Commit

Permalink
fixup! REMOVEME: hack wall clock output to tests/ztimer64_msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Oct 27, 2023
1 parent d6fcadc commit 69420a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sys/ztimer64/ztimer64.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,7 @@ uint64_t ztimer64_now(ztimer64_clock_t *clock)
clock->checkpoint += ZTIMER64_CHECKPOINT_INTERVAL;
}

now = clock->checkpoint | base_now;
if (clock->offset) {
now += clock->offset;
}
now = (clock->checkpoint | base_now) + clock->offset;

irq_restore(state);
return now;
Expand Down

0 comments on commit 69420a1

Please sign in to comment.