diff --git a/ChangeLog.txt b/ChangeLog.txt index a08b499..43fe114 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,8 +10,9 @@ CatRadio + DCS code and squelch + COM port list in the Radio Config Dialog * Improved Radio Config Dialog + * Bug fix: Quick Split button * Bug fix: address the proper VFO red during Tx - * Bug correction: IF shift slider now correctly updated + * Bug fix: IF shift slider now correctly updated * Bug fix: CW/FM tab autofocus freeze 1.1.1 - 2022-03-19 diff --git a/rigcommand.cpp b/rigcommand.cpp index a56a9c5..ffd3802 100644 --- a/rigcommand.cpp +++ b/rigcommand.cpp @@ -58,18 +58,11 @@ void set_band (int band) void quick_split () { - if (rigGet.vfoMain == RIG_VFO_A) - { - rigSet.freqSub = rigGet.freqMain + 5000; - //rigSet.modeSub = rigGet.modeMain; - rigCmd.freqSub = 1; - //rigCmd.modeSub = 1; - } - else - { - rigSet.freqMain = rigGet.freqSub + 5000; - rigCmd.freqMain = 1; - } + rigSet.freqSub = rigGet.freqMain + 5000; + rigSet.modeSub = rigGet.mode; + rigSet.split = RIG_SPLIT_ON; + rigCmd.freqSub = 1; + rigCmd.modeSub = 1; rigCmd.split = 1; }