Skip to content

Commit

Permalink
fix: disable subsystems before updating
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Mar 4, 2024
1 parent 99db5ec commit 049b585
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ async def update_firmware(
) -> AsyncIterator[UpdateStatus]:
"""Start the firmware update for one or more subsystems and return update progress iterator."""
subsystems = subsystems or set()
if SubSystem.head in subsystems:
await self.disengage_axes([Axis.Z_L, Axis.Z_R])
if SubSystem.gripper in subsystems:
await self.disengage_axes([Axis.Z_G])
# start the updates and yield the progress
async with self._motion_lock:
try:
Expand Down

0 comments on commit 049b585

Please sign in to comment.