aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/motan
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/motan')
-rw-r--r--scripts/motan/readlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/motan/readlog.py b/scripts/motan/readlog.py
index 1b44c937..48284ec2 100644
--- a/scripts/motan/readlog.py
+++ b/scripts/motan/readlog.py
@@ -293,7 +293,7 @@ class HandleStepPhase:
self._pull_block(req_time)
continue
step_pos = step_data[data_pos][1]
- return (step_pos - self.mcu_phase_offset) % self.phases
+ return (step_pos + self.mcu_phase_offset) % self.phases
def _pull_block(self, req_time):
step_data = self.step_data
del step_data[:-1]