frontend: addition to commit 988272a3cf

Origin commit data
------------------
Commit: 79d689391f
Author: Frankenstone <dampf_acc@online.de>
Date: 2020-05-30 (Sat, 30 May 2020)
This commit is contained in:
Frankenstone
2020-05-30 08:38:24 +02:00
committed by vanhofen
parent 2d7298b9c3
commit 2d0e046d36

View File

@@ -2003,7 +2003,7 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int
cmd.msg_len = 6;
}
uint32_t ret = (t + 350) * 4000 - frequency;
INFO("[fe%d/%d] 18V=%d 22k=%d freq=%d uni_freq=%d scr=%d bank=%d pin=%d ret=%d",
INFO("[fe%d/%d] 18V=%d 22k=%d freq=%d uni_freq=%d uni_scr=%d bank=%d pin=%d ret=%d",
adapter, fenumber, horizontal, high_band, frequency, bpf, config.uni_scr, bank, pin, ret);
if (!slave && info.type == FE_QPSK) {
cmd.msg[3] = (config.uni_scr << 5); /* adress */
@@ -2038,7 +2038,7 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int
if (t < 0x800 && config.uni_scr >= 0 && config.uni_scr < 32)
{
uint32_t ret = bpf * 1000;
INFO("[unicable-JESS] 18V=%d TONE=%d, freq=%d uni_freq=%d scr=%d bank=%d pin=%d ret=%d", currentVoltage == SEC_VOLTAGE_18, currentToneMode == SEC_TONE_ON, frequency, bpf, config.uni_scr, bank, pin, ret);
INFO("[unicable-JESS] 18V=%d TONE=%d, freq=%d uni_freq=%d uni_scr=%d bank=%d pin=%d ret=%d", currentVoltage == SEC_VOLTAGE_18, currentToneMode == SEC_TONE_ON, frequency, bpf, config.uni_scr, bank, pin, ret);
if (!slave && info.type == FE_QPSK)
{
cmd.msg[1] = ((config.uni_scr & 0x1F) << 3) | /* user band adress ( 0 to 31) */