mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix ADS-B remote mode incorrectly stopping other SDR services
When using a remote SBS feed, no local SDR is needed. The pre-flight device conflict check was running regardless and stopping whichever mode had the selected SDR device claimed — even though ADS-B remote mode never touches a local SDR. Skip the conflict check when remoteConfig is set.
This commit is contained in:
@@ -2389,7 +2389,8 @@ sudo make install</code>
|
|||||||
const adsbDevice = parseInt(adsbDeviceIdx) || 0;
|
const adsbDevice = parseInt(adsbDeviceIdx) || 0;
|
||||||
|
|
||||||
// Pre-flight: check if another mode is using this device and auto-stop it
|
// Pre-flight: check if another mode is using this device and auto-stop it
|
||||||
if (!useAgent) {
|
// Skip when using a remote SBS feed — no local SDR is needed
|
||||||
|
if (!useAgent && !remoteConfig) {
|
||||||
try {
|
try {
|
||||||
const devResp = await fetch('/devices/status');
|
const devResp = await fetch('/devices/status');
|
||||||
if (devResp.ok) {
|
if (devResp.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user