Skip to content

Commit 6511d11

Browse files
committed
Fix retune after beacon
1 parent 11cc3dd commit 6511d11

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

console.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ namespace console
8686
buff_out << "Beacon successfully sent on path " << path + 1 << '.';
8787
conPrint(buff_out.str() + "\r\n");
8888
}
89-
if (path != 0) tune_radio(beacon::aprs_paths[0].freq, beacon::aprs_paths[0].mode); // retune if necessary
9089
}
9190

9291
else if (param.compare("mycall") == 0) {

hamlib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bool tune_radio(freq_t freq, rmode_t mode) { // use hamlib to tune the radio
88
if (!hamlib.enabled) return true; // don't try to do tuning stuff if we can't
99

1010
try {
11-
if (hamlib.radio->getFreq() == freq) return true; // skip if already set
11+
//if (hamlib.radio->getFreq() == freq) return true; // skip if already set
1212
if (debug.hl) printf("HL_DEBUG: Tuning radio to %.0f\n", freq);
1313
hamlib.radio->setFreq(Hz(freq));
1414
hamlib.radio->setMode(mode);

0 commit comments

Comments
 (0)