Skip to content

Commit

Permalink
frontend.cpp: e4hdultra needs more time when PIN is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankenstone committed Dec 30, 2023
1 parent 49f5ee7 commit d121f5a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/zapit/src/frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,11 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int
}
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
#if BOXMODEL_E4HDULTRA
sendDiseqcCommand(&cmd, 120);
#else
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/
#endif
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
}
return ret;
Expand Down Expand Up @@ -1930,7 +1934,11 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int
high_band; /* high_band == 0x01 */
fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18);
usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/
#if BOXMODEL_E4HDULTRA
sendDiseqcCommand(&cmd, 120);
#else
sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/
#endif
fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt);
}
return ret;
Expand Down

0 comments on commit d121f5a

Please sign in to comment.