fix: tick timer

This commit is contained in:
jk
2024-12-27 18:34:12 +01:00
parent 0673b8e1dd
commit 49365d3db4
2 changed files with 2 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ impl Clock<Timer> {
pub fn tick(&mut self) {
if self.mode == Mode::Tick {
self.current_value.saturating_add(self.tick_value);
self.current_value = self.current_value.saturating_add(self.tick_value);
self.set_done();
self.update_format();
}