Ignore:
Timestamp:
11/15/11 02:47:08 (13 years ago)
Author:
tbretz
Message:
Do not swap the package length... for some unknown reasons this also doesn't work an produce crashes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.c

    r12506 r12520  
    14661466                     // but it doesn't really matter because it is not really
    14671467                     // used anywehere else
    1468                      rd[i].rBuf->S[1]  = ntohs(rd[i].rBuf->S[1]);    // package_length
     1468//                     rd[i].rBuf->S[1]  = ntohs(rd[i].rBuf->S[1]);    // package_length
    14691469                     rd[i].rBuf->S[2]  = ntohs(rd[i].rBuf->S[2]);    // version_no
    14701470                     rd[i].rBuf->S[3]  = ntohs(rd[i].rBuf->S[3]);    // PLLLCK
     
    14871487                         rd[i].rBuf->S[s] = ntohs(rd[i].rBuf->S[s]); // drs_temperature / dac
    14881488 
    1489                      rd[i].fadLen  = rd[i].rBuf->S[1] * 2;
     1489                     rd[i].fadLen  = ntohs(rd[i].rBuf->S[1]) * 2;
    14901490                     rd[i].fadVers = rd[i].rBuf->S[2];
    14911491                     rd[i].ftmTyp  = rd[i].rBuf->S[5];
Note: See TracChangeset for help on using the changeset viewer.