mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
9fdfc67f65e70bceb9b1ed99fe6b1927c5a01606
Extract the graceful Run=0 teardown from BtnStartStopClick's STOP branch into TRadioController.StopRunning: UpdateState/SetRunAndFreq(False) at zero drive, clear FRunning/FTransmitting, SetTXRun(False), reset RX telemetry, emit Changed(rfTransmitting) + rfRunning. The network stays Connected so the UI wrapper can persist state before Disconnect. New OnControllerState(rfRunning) render handles the START/STOP button, BtnMOX.Enabled and sleep inhibit; the context-specific offline status text stays with the caller. FormClose reuses StopRunning (same teardown). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%