Changeset 17345 for trunk/FACT++/src


Ignore:
Timestamp:
11/23/13 12:59:49 (11 years ago)
Author:
tbretz
Message:
Automatically try to send STOP if after an UNLOCK the systme is in error.
File:
1 edited

Legend:

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

    r17318 r17345  
    11651165    int Unlock()
    11661166    {
     1167        if (fDrive.GetState()==StateMachineImp::kSM_Error)
     1168        {
     1169            T::Warn("Drive in error - maybe no connection to electronics... trying to send STOP.");
     1170            SendStop();
     1171        }
     1172
    11671173        return Drive::State::kNotReady;
    11681174    }
Note: See TracChangeset for help on using the changeset viewer.