Changeset 14021 for trunk


Ignore:
Timestamp:
06/01/12 14:27:30 (12 years ago)
Author:
tbretz
Message:
Updated the rules which apply during current feedback before the second temp value has been received.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/feedback.cc

    r14009 r14021  
    719719            AverageCurrents(evt);
    720720
    721         if (fControlType==kCurrents && fTempOffset>-2 && fCursorTemp && fCursorCur%3==0)
    722             HandleCurrentControl();
     721        if (curr==&fBiasA && fControlType==kCurrents && fTempOffset>-2)
     722        {
     723            // fCursorTemp: 1 2 3 4 5 6 7 8
     724            // fCursor%x:   1 1 1 2 2 2 3 3    // 9 steps in ~15s
     725            if (fCursorTemp<9 && fCursorCur%((fCursorTemp+2)/3)==0)
     726                HandleCurrentControl();
     727        }
    723728
    724729        return GetCurrentState();
Note: See TracChangeset for help on using the changeset viewer.