drexjj / sbitx

An improved version of the sBITX application and operating system for the HF Signals sBitx hardware.
http://w9jes.com/
19 stars 7 forks source link

S meter fixes #49

Closed SigmazGFX closed 2 months ago

SigmazGFX commented 2 months ago

Changed the way that the rx_gain value is shared between sbitx.c and sbitx_gtk.c Because rx_gain is a static int it cannot be shared directly outside of sbitx.c so I put in a getter function int get_rx_gain(void); to retrieve the value and ship it over to the display function. Also adjusted the SCALING_TRIM to get the s-meter close to local observations on another rig.

drexjj commented 2 months ago

If this from the s-meter branch, then there are some issues still present..

\smeter_option does not work from the text menu

The IF gain adjustment still changes the s-meter sensitivity giving false feedback.

SigmazGFX commented 2 months ago

I’ll close the PR and see about getting the Log function spruced up. The command is \smeteropt on|off

SigmazGFX commented 2 months ago

I’ll close the PR and see about getting the Log function spruced up. The command is \smeteropt on|off