mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 18:43:51 +00:00
09c9109491457e0da674f25505704286f3fb9b58
TUN produced no tone: TUNLevel default 10% mapped via the old dB-linear attenuation curve (−89.75..ceiling) to −81.8 dB → effectively off. Now power-linear: dB = ceiling + 20*log10(pct/100), so 10%→−30, 50%→−16, 100%→ceiling — usable across the whole slider. Also keep WDSP digital level at full-scale for Pluto (ApplyWDSPDrive): power is set once via hardware attenuation, not by scaling the WDSP path. HPSDR unchanged (drive byte still drives the radio PA). Note: at a given slider position Pluto TX is now much hotter than before (50%: −49.9→−16 dB). Ceiling stays PlutoTxMaxAttDb (default −10 dB). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%