more fixes

This commit is contained in:
2026-10-05 23:55:10 +02:00
committed by Marvin Friedrich
parent 8f0c73f4dc
commit 4dd59ef79a
32 changed files with 403 additions and 59 deletions
+2 -2
View File
@@ -39,8 +39,6 @@ bool clock_switch(struct clock* clock) {
}
}
log("clock: Switching to clock source \"%s\"\n", clock->name);
uint64_t elapsed = clock_get_elapsed_ns_locked();
clock->reset(clock);
@@ -48,6 +46,8 @@ bool clock_switch(struct clock* clock) {
active_clock = clock;
spin_unlock(&lock);
log("clock: Switching to clock source \"%s\"\n", clock->name);
return true;
}