Skip to content

Commit

Permalink
unicable timing (thx TangoCash)
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Mar 25, 2019
1 parent 092bfc5 commit b58f75f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/zapit/src/frontend.cpp
Expand Up @@ -1712,8 +1712,8 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int
cmd.msg[4] = t & 0xFF;
}
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
usleep(15 * 1000); /* en50494 says: >4ms and < 22 ms */
sendDiseqcCommand(&cmd, 50); /* en50494 says: >2ms and < 60 ms */
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
}
return ret;
Expand Down Expand Up @@ -1742,8 +1742,8 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int
(horizontal << 1) | /* horizontal == 0x02 */
high_band; /* high_band == 0x01 */
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
usleep(15 * 1000); /* en50494 says: >4ms and < 22 ms */
sendDiseqcCommand(&cmd, 50); /* en50494 says: >2ms and < 60 ms */
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_13);
}
return ret;
Expand Down

0 comments on commit b58f75f

Please sign in to comment.