diff --git a/backend/main.py b/backend/main.py index 2fbdd19..6b6fdef 100644 --- a/backend/main.py +++ b/backend/main.py @@ -160,11 +160,6 @@ async def surveiller_dslr(): else: _echecs_connexion += 1 log.warning(f"Echec connexion DSLR ({_echecs_connexion})") - # Après 3 échecs consécutifs (~15s), reset USB pour débloquer un port stall - if _echecs_connexion % 3 == 0: - log.warning("Reset USB Canon tentative de deblocage...") - _usb_reset_canon() - await asyncio.sleep(12) # Laisser le Canon se ré-énumérer (~10s) except Exception as e: log.debug(f"surveiller_dslr: {e}")