diff --git a/plugins/USBPrinting/AutoDetectBaudJob.py b/plugins/USBPrinting/AutoDetectBaudJob.py index 1a7187be4d7..5a8e4557202 100644 --- a/plugins/USBPrinting/AutoDetectBaudJob.py +++ b/plugins/USBPrinting/AutoDetectBaudJob.py @@ -27,14 +27,7 @@ def run(self) -> None: write_timeout = 3 read_timeout = 3 tries = 2 - - programmer = Stk500v2() serial = None - try: - programmer.connect(self._serial_port) - serial = programmer.leaveISP() - except ispBase.IspError: - programmer.close() for retry in range(tries): for baud_rate in self._all_baud_rates: