Changeset 18894 for trunk


Ignore:
Timestamp:
06/30/17 10:07:38 (7 years ago)
Author:
dneise
Message:
re-introduce patch for OC in ch 91, from rev.18800
File:
1 edited

Legend:

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

    r18850 r18894  
    276276            if (!fEmergencyShutdown)
    277277            {
    278                 if (fCurrent[id]<0)
     278                if (fCurrent[id]<0 && id!=91)
    279279                {
    280280                    Warn("OverCurrent detected (first ch="+to_string(id)+").");
     
    443443            bool oc = false;
    444444            for (int ch=0; ch<kNumChannels; ch++)
    445                 if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0)
     445                if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 && ch!=91)
    446446                    oc = true;
    447447
     
    14971497    {
    14981498        for (int ch=0; ch<kNumChannels; ch++)
    1499             if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0)
     1499            if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 && ch!=91)
    15001500                return true;
    15011501
Note: See TracChangeset for help on using the changeset viewer.