Show
Ignore:
Timestamp:
05/18/08 12:47:01 (16 years ago)
Author:
ppalmers
Message:

slow down the reading of the config rom, it seems to confuse older bebob devices

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libieee1394/configrom.cpp

    r1158 r1186  
    2929#include "vendor_model_ids.h" 
    3030 
     31#include "libutil/SystemTimeSource.h" 
     32 
    3133#include <stdio.h> 
    3234#include <string.h> 
     
    240242                                         ( quadlet_t* )buffer)  ) 
    241243    {// failed, retry 
    242     } 
     244        Util::SystemTimeSource::SleepUsecRelative(IEEE1394SERVICE_CONFIGROM_READ_WAIT_USECS); 
     245    } 
     246    Util::SystemTimeSource::SleepUsecRelative(IEEE1394SERVICE_CONFIGROM_READ_WAIT_USECS); 
    243247 
    244248    if (nb_retries > -1) return 0; // success