Changeset 11239


Ignore:
Timestamp:
07/01/11 10:47:04 (13 years ago)
Author:
tbretz
Message:
Fixed reference clock indices.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r11231 r11239  
    10061006        fFadRefClockMax->setEnabled(true);
    10071007
    1008         fFadRefClockMin->setValue(ptr[0]*2.048);
    1009         fFadRefClockMax->setValue(ptr[1]*2.048);
    1010 
    1011         const int64_t diff = int64_t(ptr[1]) - int64_t(ptr[0]);
     1008        fFadRefClockMin->setValue(ptr[40]*2.048);
     1009        fFadRefClockMax->setValue(ptr[41]*2.048);
     1010
     1011        const int64_t diff = int64_t(ptr[41]) - int64_t(ptr[40]);
    10121012
    10131013        SetLedColor(fFadLedRefClock, abs(diff)>3?kLedRed:kLedGreen, d.time);
Note: See TracChangeset for help on using the changeset viewer.