diff --git a/services/adacam-odc/adacam_odc.py b/services/adacam-odc/adacam_odc.py index 505e446..57f4979 100644 --- a/services/adacam-odc/adacam_odc.py +++ b/services/adacam-odc/adacam_odc.py @@ -1241,7 +1241,10 @@ def system_init(): # ============================================================================= -def stop_preview_impl(): +def stop_preview_impl(): # DISABLED + pass + +def _stop_preview_impl_orig(): """Stop preview mode — restore normal camera config and restart camera-bridge.""" preview_state["active"] = False preview_state["started_at"] = None @@ -1261,7 +1264,10 @@ def stop_preview_impl(): logger.info("[preview] stopped, camera-bridge restored") -def start_preview_impl(): +def start_preview_impl(): # DISABLED + pass + +def _start_preview_impl_orig(): """Start preview mode — switch camera to preview config, restart camera-bridge. Auto-stops after PREVIEW_TIMEOUT_SEC seconds.""" # Cancel any existing timer