mirror of
https://github.com/smittix/intercept.git
synced 2026-04-28 08:40:01 -07:00
Fix Morse mode HF reception, stop button, and UX guidance
Enable direct sampling (-D 2) for RTL-SDR at HF frequencies below 24 MHz so rtl_fm can actually receive CW signals. Add startup health check to detect immediate rtl_fm failures. Push stopped status event from decoder thread on EOF so the frontend auto-resets. Add frequency placeholder and help text. Fix stop button silently swallowing errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -274,3 +274,6 @@ def morse_decoder_thread(
|
||||
for event in decoder.flush():
|
||||
with contextlib.suppress(queue.Full):
|
||||
output_queue.put_nowait(event)
|
||||
# Notify frontend that the decoder has stopped (e.g. rtl_fm died)
|
||||
with contextlib.suppress(queue.Full):
|
||||
output_queue.put_nowait({'type': 'status', 'status': 'stopped'})
|
||||
|
||||
Reference in New Issue
Block a user