Skip to content

Commit

Permalink
sec: fix total motor timeout
Browse files Browse the repository at this point in the history
broken by 6e31c88
  • Loading branch information
pieterg authored and Huevos committed Mar 23, 2018
1 parent 279dae3 commit eae333e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dvb/sec.cpp
Expand Up @@ -1006,7 +1006,7 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, const eDVB
cmd.deltaA=0;
cmd.steps = +4;
cmd.okcount=0;
sec_sequence.push_back( eSecCommand(eSecCommand::SET_TIMEOUT, mrt) ); // mrt is in seconds... our SLEEP time is 250ms.. so * 4
sec_sequence.push_back( eSecCommand(eSecCommand::SET_TIMEOUT, mrt*4) ); // mrt is in seconds... our SLEEP time is 250ms.. so * 4
sec_sequence.push_back( eSecCommand(eSecCommand::SET_FRONTEND, 0) );
sec_sequence.push_back( eSecCommand(eSecCommand::SLEEP, 250) ); // 250msec delay
sec_sequence.push_back( eSecCommand(eSecCommand::IF_TUNER_LOCKED_GOTO, cmd ) );
Expand Down

0 comments on commit eae333e

Please sign in to comment.