fix: disable camera bridge / preview code to free port 9001 for datalogger
This commit is contained in:
parent
bd0c4cff00
commit
76b177a8e0
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue