summaryrefslogtreecommitdiff
path: root/src/devices.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices.rs')
-rw-r--r--src/devices.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices.rs b/src/devices.rs
index 562b664..a17514e 100644
--- a/src/devices.rs
+++ b/src/devices.rs
@@ -122,9 +122,9 @@ impl DeviceBus for StandardDevices {
0x33 => self.clock.hour(),
0x34 => self.clock.minute(),
0x35 => self.clock.second(),
- 0x36 => { self.clock.update_cumulative_seconds(); read_h!(self.clock.cumulative_seconds) },
- 0x37 => read_l!(self.clock.cumulative_seconds),
0x38 => { self.clock.update_timer_1(); read_h!(self.clock.timer_1) }
+ 0x36 => read_h!(self.clock.update_cumulative_timer()),
+ 0x37 => read_l!(self.clock.cumulative_timer),
0x39 => read_l!(self.clock.timer_1),
0x3A => { self.clock.update_timer_2(); read_h!(self.clock.timer_2) }
0x3B => read_l!(self.clock.timer_2),