mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
small fix
Origin commit data
------------------
Branch: ni/coolstream
Commit: cb7517c5aa
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -121,6 +121,8 @@ static fe_sec_voltage_t unicable_lowvolt = SEC_VOLTAGE_13;
|
|||||||
#define TIME_STEP 200
|
#define TIME_STEP 200
|
||||||
#define TIMEOUT_MAX_MS (feTimeout*100)
|
#define TIMEOUT_MAX_MS (feTimeout*100)
|
||||||
|
|
||||||
|
#define CMDTIMING 120
|
||||||
|
|
||||||
/*********************************************************************************************************/
|
/*********************************************************************************************************/
|
||||||
|
|
||||||
CFrontend::CFrontend(int Number, int Adapter)
|
CFrontend::CFrontend(int Number, int Adapter)
|
||||||
@@ -1898,7 +1900,7 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int
|
|||||||
}
|
}
|
||||||
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
||||||
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
||||||
sendDiseqcCommand(&cmd, 120); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/
|
sendDiseqcCommand(&cmd, CMDTIMING); /* en50494 says: >2ms and < 60 ms -- it seems we must add the length of telegramm itself (~65ms)*/
|
||||||
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
@@ -1935,7 +1937,7 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int
|
|||||||
high_band; /* high_band == 0x01 */
|
high_band; /* high_band == 0x01 */
|
||||||
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
||||||
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
||||||
sendDiseqcCommand(&cmd, 120); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/
|
sendDiseqcCommand(&cmd, CMDTIMING); /* en50494 says: >2ms and < 60 ms -- it seems we must add the length of telegramm itself (~65ms)*/
|
||||||
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user