¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Flrig TS870 TX power control.


 

Hi.

As part of warming up the grey cell, I pulled the latest Flrig Alpha (2.0.05.75).


With my TS870s.??? I noticed the "Power" slider was able to go down to 0.? (The rig's control ability only goes down to 10W.)

So..? I tweaked the code in TS870s.h


From line 82...

//? int? get_swr();
??? int? get_power_out();
?? ?double get_power_control();


Is now...

//? int? get_swr();
??? int? get_power_out();

??? double get_power_control();
//? void get_pc_min_max_step(double &, double &, double &) {
?? ?void get_pc_min_max_step(double &min, double &max, double &step) {
?? ???? min = 10; max = 100; step = 1; }? // wbx4

??? void set_power_control(double val);? // relocated from original line 94 wbx4


It builds without error, and the resulting "Pwr" control on the UI, is now scaled 10 to 100W and behaves well.

Hopefully, the TS870s.h file is not referenced by any other backend.

( That is something I've yet to figure out, how to trace what other code might call what I'm looking at / working on.
I don't think even Doxygen can help with that, at least asking vastly more experienced coders in the past hasn't been fruitful.
Tracing forward call's is easy of course, but backwards across multiple source files?? Anyone know? )


Anyway...? Bouquets or Brickbats welcome.

73

Dave G0WBX.

--
Created on and sent from a Unix like PC running and using open source software:

Join [email protected] to automatically receive all group messages.