mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-07 13:48:28 +02:00
zapit/frontend: correct unicable timing for arm boxes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f416636a5
Author: TangoCash <eric@loxat.de>
Date: 2019-01-15 (Tue, 15 Jan 2019)
Origin message was:
------------------
- zapit/frontend: correct unicable timing for arm boxes
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1723,8 +1723,8 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int
|
|||||||
cmd.msg[4] = t & 0xFF;
|
cmd.msg[4] = t & 0xFF;
|
||||||
}
|
}
|
||||||
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
|
||||||
usleep(15 * 1000); /* en50494 says: >4ms and < 22 ms */
|
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
||||||
sendDiseqcCommand(&cmd, 50); /* en50494 says: >2ms and < 60 ms */
|
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */
|
||||||
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
@@ -1753,8 +1753,8 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int
|
|||||||
(horizontal << 1) | /* horizontal == 0x02 */
|
(horizontal << 1) | /* horizontal == 0x02 */
|
||||||
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(15 * 1000); /* en50494 says: >4ms and < 22 ms */
|
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
|
||||||
sendDiseqcCommand(&cmd, 50); /* en50494 says: >2ms and < 60 ms */
|
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */
|
||||||
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_13);
|
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_13);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user