Ignore:
Timestamp:
Nov 25, 1999, 2:56:34 PM (26 years ago)
Author:
ansari
Message:

archediab 28 vol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archediab.old/archediab.sources/c/tache_diabolo.c

    r637 r649  
    8484int max_fifo;
    8585
    86 if(tt->PCI_actif==1)    max_fifo=3000;  //  3000  points maxi par interruption (10ms)  soit (3.3µs)
     86if(acquisition_PCI)     max_fifo=3000;  //  3000  points maxi par interruption (10ms)  soit (3.3µs)
    8787         else           max_fifo=200;   //  ((1000)faux )  points maxi par interruption (10ms)  soit  (20µs)
    8888
     
    9090while(1)
    9191        {
    92         if(tt->PCI_actif==1)    {lit_carte;     if(rien_a_lire) break;}//  fifo vide  ->  retour  ->  sort du while
     92        if(acquisition_PCI)     {lit_carte;     if(rien_a_lire) break;}//  fifo vide  ->  retour  ->  sort du while
    9393        lec_fifo++;
    9494        if (EPLD_occupe) tt->vi.flag_ecriture_data=0;
     
    141141                if( RR&FLAG_FIFO_FULL )         {ecrit_erreur(err_fifo_pleine);read_flags();reset_fifo();}      // la fifo a débordée                   
    142142                if(lec_fifo > tt->nb_lec_fofo_int)  tt->nb_lec_fofo_int=lec_fifo;
    143                 if(!tt->nb_lec_fofo_ext)        {tt->nb_lec_fofo_ext=tt->nb_lec_fofo_int;tt->nb_lec_fofo_int=0;}
     143                if(!tt->val_con_fifo)   {tt->val_con_fifo=tt->nb_lec_fofo_int;tt->nb_lec_fofo_int=0;}
    144144                if(lec_fifo>max_fifo)
    145145                        {
Note: See TracChangeset for help on using the changeset viewer.