Ticket #8465: extra_delays_for_rotor.diff

File extra_delays_for_rotor.diff, 808 bytes (added by Pieter Hoekstra <pieter@…>, 10 years ago)

Patch to fix issue

  • libs/libmythtv/diseqc.cpp

    old new  
    3737#define DISEQC_SHORT_WAIT     (15 * 1000)
    3838#define DISEQC_LONG_WAIT      (100 * 1000)
    3939#define DISEQC_POWER_OFF_WAIT (1000 * 1000)
    40 #define DISEQC_POWER_ON_WAIT  (500 * 1000)
     40#define DISEQC_POWER_ON_WAIT  (1000 * 1000)
    4141
    4242// Number of times to retry ioctls after receiving ETIMEDOUT before giving up
    4343#define TIMEOUT_RETRIES       10
    bool DiSEqCDevRotor::Execute(const DiSEq 
    16571659
    16581660        m_last_position = position;
    16591661        m_reset = false;
     1662        usleep(DISEQC_LONG_WAIT); // Tuning delay; Prevent tuning paramaters overiding rotor parameters
    16601663    }
    16611664
    16621665    // chain to child