kopia lustrzana https://gitlab.com/eliggett/wfview
Fix for wrong VFO being set on haveBandStackReg
rodzic
d1688a99c5
commit
d7ba3d9d9a
|
@ -3114,6 +3114,10 @@ void rigCommander::parseBandStackReg()
|
||||||
freqt freqs = parseFrequency(payloadIn, 7);
|
freqt freqs = parseFrequency(payloadIn, 7);
|
||||||
//float freq = (float)freqs.MHzDouble;
|
//float freq = (float)freqs.MHzDouble;
|
||||||
|
|
||||||
|
// The Band Stacking command returns the regCode in the position that VFO is expected.
|
||||||
|
// As BSR is always on the active VFO, just set that.
|
||||||
|
freqs.VFO = selVFO_t::activeVFO;
|
||||||
|
|
||||||
bool dataOn = (payloadIn[11] & 0x10) >> 4; // not sure...
|
bool dataOn = (payloadIn[11] & 0x10) >> 4; // not sure...
|
||||||
char mode = payloadIn[9];
|
char mode = payloadIn[9];
|
||||||
char filter = payloadIn[10];
|
char filter = payloadIn[10];
|
||||||
|
|
Ładowanie…
Reference in New Issue