Changeset 649 in Sophya for trunk/Poubelle/archediab.old/archediab.sources/c/tache_diabolo.c
- Timestamp:
- Nov 25, 1999, 2:56:34 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archediab.old/archediab.sources/c/tache_diabolo.c
r637 r649 84 84 int max_fifo; 85 85 86 if( tt->PCI_actif==1) max_fifo=3000; // 3000 points maxi par interruption (10ms) soit (3.3µs)86 if(acquisition_PCI) max_fifo=3000; // 3000 points maxi par interruption (10ms) soit (3.3µs) 87 87 else max_fifo=200; // ((1000)faux ) points maxi par interruption (10ms) soit (20µs) 88 88 … … 90 90 while(1) 91 91 { 92 if( tt->PCI_actif==1) {lit_carte; if(rien_a_lire) break;}// fifo vide -> retour -> sort du while92 if(acquisition_PCI) {lit_carte; if(rien_a_lire) break;}// fifo vide -> retour -> sort du while 93 93 lec_fifo++; 94 94 if (EPLD_occupe) tt->vi.flag_ecriture_data=0; … … 141 141 if( RR&FLAG_FIFO_FULL ) {ecrit_erreur(err_fifo_pleine);read_flags();reset_fifo();} // la fifo a débordée 142 142 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;} 144 144 if(lec_fifo>max_fifo) 145 145 {
Note:
See TracChangeset
for help on using the changeset viewer.