Skip to content

Commit 239896b

Browse files
author
sam
committed
Small MessageProcessor fix
1 parent ca20614 commit 239896b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/ev3dev2/simulator/connection/MessageProcessor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def _process_stop_command_values(self, command: StopCommand, side: str) -> Tuple
113113
"""
114114

115115
if side == 'center':
116-
return self.command_processor.process_stop_command_degrees(command)
116+
dpf, frames, run_time = self.command_processor.process_stop_command_degrees(command)
117+
return -dpf, frames, run_time
117118
else:
118119
return self.command_processor.process_stop_command_pixels(command)
119120

0 commit comments

Comments
 (0)