Skip to content

Commit

Permalink
Update ot3controller.py
Browse files Browse the repository at this point in the history
revert debug changes
  • Loading branch information
vegano1 authored Jan 6, 2025
1 parent 5865baa commit 2cf4b16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/src/opentrons/hardware_control/backends/ot3controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def _build_system_hardware(
) -> SystemDrivers:
gpio = OT3GPIO("hardware_control")
eeprom_driver = eeprom_driver or EEPROMDriver(gpio)
# eeprom_driver.setup()
eeprom_driver.setup()
gpio_dev: Union[OT3GPIO, RemoteOT3GPIO] = gpio
usb_messenger: Optional[BinaryMessenger] = None
if usb_driver:
Expand Down Expand Up @@ -529,9 +529,9 @@ def update_feature_flags(self, feature_flags: HardwareFeatureFlags) -> None:
async def update_motor_status(self) -> None:
"""Retreieve motor and encoder status and position from all present nodes"""
motor_nodes = self._motor_nodes()
if motor_nodes:
response = await get_motor_position(self._messenger, motor_nodes)
self._handle_motor_status_response(response)
assert len(motor_nodes)
response = await get_motor_position(self._messenger, motor_nodes)
self._handle_motor_status_response(response)

async def update_motor_estimation(self, axes: Sequence[Axis]) -> None:
"""Update motor position estimation for commanded nodes, and update cache of data."""
Expand Down

0 comments on commit 2cf4b16

Please sign in to comment.