Changeset 405 in Sophya for trunk/Poubelle


Ignore:
Timestamp:
Sep 14, 1999, 12:24:15 PM (26 years ago)
Author:
ansari
Message:

divers

Location:
trunk/Poubelle/archTOI.old
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/Makefile

    r400 r405  
    11CXX=cxx
    22CFITSIODIR=../cfitsio
    3 CPPFLAGS=-O -I$(CFITSIODIR)
     3CPPFLAGS=-O -g -I$(CFITSIODIR)
    44#CPPFLAGS=-g -I$(CFITSIODIR)
    55LDLIBS=-L$(CFITSIODIR) -lcfitsio
  • trunk/Poubelle/archTOI.old/archeopsfile.cc

    r398 r405  
    526526       break;
    527527     }
    528      case block_sst_comprime: {  // $CHECK$ TBD
     528     case block_sst_comprime: { 
    529529       blockSet->setRawBloc(blockSet->curBlock);
     530       if (!blockSet->sstHandler.NeedBlocks()) break; // inutile de decompresser
    530531       block_type_sst blk2;
    531532       block_type_sst_comprime* blk = (block_type_sst_comprime*) &blockSet->curBlock;
     
    900901  if (!blk) return 0;
    901902#if version_num<=25
    902   return blk->gyros[igyro][imesure];
     903  return blk->gyros[igyro][imesure]-32768.;
    903904#else
    904   return blk->gyro[igyro][imesure];
     905  return blk->gyro[igyro][imesure]-32768.;
    905906#endif
    906907}
  • trunk/Poubelle/archTOI.old/ssthandler.cc

    r401 r405  
    373373{
    374374  lastBlkNum = numero_block(blk);
    375   for (int i = 0; i<nb_per_block*2; i++) {
    376     DecodeTMBlock(blk, i, diodeRaw[i]);
     375  if (prcTodo != 0) {
     376    for (int i = 0; i<nb_per_block*2; i++) {
     377      DecodeTMBlock(blk, i, diodeRaw[i]);
     378    }
    377379  }
    378380  if (prcTodo & permDiode) {
  • trunk/Poubelle/archTOI.old/ssthandler.h

    r401 r405  
    4545  void NeedProcess(int prcMask);
    4646  void ProcessBlock(block_type_sst*);
     47  bool NeedBlocks() {return prcTodo != 0;}
    4748
    4849  static void Has2Bars(bool, int elecOffset=0); // elecOffset : which wired together
Note: See TracChangeset for help on using the changeset viewer.