fix(adsb): use actual device index for ACARS/VDL2 SDR conflict checks

ACARS and VDL2 conflict warnings were hardcoded to check device === '0'
instead of comparing against the actual ADS-B device (adsbActiveDevice).
This caused false warnings when ADS-B used a different device index.

Also removes hardcoded device-1 defaults for ACARS/VDL2 selectors —
users should pick their own device based on their antenna setup.

Adds profiles: [basic] to the intercept service in docker-compose so it
doesn't port-conflict with intercept-history when using --profile history.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
mitchross
2026-02-20 17:29:47 -05:00
parent 130f58d9cc
commit 01409cfdea
2 changed files with 9 additions and 12 deletions

View File

@@ -16,6 +16,8 @@ services:
image: ${INTERCEPT_IMAGE:-intercept:latest}
build: .
container_name: intercept
profiles:
- basic
ports:
- "5050:5050"
# Privileged mode required for USB SDR device access