Skip to content

Commit 5b646dd

Browse files
committed
fix(api): add 10s delay after updating the plate reader to give time to re-initialize.
1 parent 29e03ae commit 5b646dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/opentrons/hardware_control/modules/absorbance_reader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ async def update_device(self, firmware_file_path: str) -> Tuple[bool, str]:
312312
log.debug(f"Updating {self.name}: {self.port} with {firmware_file_path}")
313313
self._updating = True
314314
success, res = await self._driver.update_firmware(firmware_file_path)
315+
# it takes time for the plate reader to re-init after an update.
316+
await asyncio.sleep(10)
315317
self._device_info = await self._driver.get_device_info()
316318
await self._poller.start()
317319
self._updating = False

0 commit comments

Comments
 (0)