Ignore:
Timestamp:
06/14/13 10:36:25 (11 years ago)
Author:
tbretz
Message:
Print a warning if an interrupt request is received but no script is running.
File:
1 edited

Legend:

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

    r16282 r16830  
    142142    if (p!=string::npos)
    143143        str[p] = ':';
     144
     145    if (GetCurrentState()<3)
     146    {
     147        Warn("Interrupt request received ["+str+"]... but no running script.");
     148        return GetCurrentState();
     149    }
    144150
    145151    Info("Interrupt request received ["+str+"]");
Note: See TracChangeset for help on using the changeset viewer.