Skip to content

Commit fdffc5e

Browse files
CopilotMrAlders0n
andcommitted
Fix repeater telemetry display by removing duplicate timeout
Co-authored-by: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com>
1 parent 9c695b8 commit fdffc5e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

content/wardrive.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,11 +1171,8 @@ function startRepeaterTracking(payload, channelIdx) {
11711171
debugLog(`Registered LogRxData event handler`);
11721172
}
11731173

1174-
// Set timeout to stop listening after 7 seconds
1175-
state.repeaterTracking.listenTimeout = setTimeout(() => {
1176-
debugLog(`7-second rx_log listening window closed at ${new Date().toISOString()}`);
1177-
stopRepeaterTracking();
1178-
}, RX_LOG_LISTEN_WINDOW_MS);
1174+
// Note: The 7-second timeout to stop listening is managed by the caller (sendPing function)
1175+
// This allows the caller to both stop tracking AND retrieve results at the same time
11791176
}
11801177

11811178
/**

0 commit comments

Comments
 (0)