diff --git a/rigs/kenwood/thd74.c b/rigs/kenwood/thd74.c index f868950b2..f124fb181 100644 --- a/rigs/kenwood/thd74.c +++ b/rigs/kenwood/thd74.c @@ -638,11 +638,23 @@ static int thd74_set_ts(RIG *rig, vfo_t vfo, shortfreq_t ts) rig_debug(RIG_DEBUG_TRACE, "%s: called\n", __func__); + for (tsinx = 0; tsinx < 4; tsinx++) + { + if (thd74tuningstep_fine[tsinx] >= ts) + { + thd74_set_freq_item(rig, vfo, 33, 1); // Turn fine mode on + thd74_set_freq_item(rig, vfo, 35, tsinx); + return RIG_OK; + } + } + for (tsinx = 0; tsinx < 10; tsinx++) { + if (thd74tuningstep[tsinx] >= ts) { - thd74_set_freq_item(rig, vfo, 16, tsinx); + thd74_set_freq_item(rig, vfo, 33, 0); //Turn fine mode off + thd74_set_freq_item(rig, vfo, 27, tsinx); return RIG_OK; } }