mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 18:43:51 +00:00
Phase 3 (batch 4): route RX step attenuator through controller
SetAtten clamps, applies to the network (SetStepAtten), and fires OnStateChanged; SyncWebAttn calls it. No desktop widget exists for the attenuator, so there's no OnControllerState case — but state and the web snapshot now flow through the single command path like everything else. Builds clean (cocoa). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
b3e4360a5d
commit
ad21516d48
+1
-2
@@ -6638,8 +6638,7 @@ end;
|
||||
|
||||
procedure TMainForm.SyncWebAttn;
|
||||
begin
|
||||
FController.FAtten := Max(0, Min(2, FWebSyncInt));
|
||||
FController.FNetwork.SetStepAtten(FController.FAtten * 10);
|
||||
FController.SetAtten(FWebSyncInt);
|
||||
end;
|
||||
|
||||
procedure TMainForm.WebOnFMStep(Idx: Integer);
|
||||
|
||||
Reference in New Issue
Block a user