Changeset 18126
- Timestamp:
- 02/13/15 09:34:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r18124 r18126 1916 1916 if (now>fSunRise) 1917 1917 { 1918 if ((state==State::kRamping || 1919 state==State::kVoltageOn || 1920 state==State::kNotReferenced || 1921 state==State::kOverCurrent)) 1918 const bool shutdown = 1919 state==State::kRamping || 1920 state==State::kVoltageOn || 1921 state==State::kNotReferenced || 1922 state==State::kOverCurrent; 1923 1924 if (shutdown) 1922 1925 { 1923 1926 T::Error("Voltage on at end of nautical twilight!"); … … 1931 1934 T::Info(msg); 1932 1935 1933 return State::kLocked; 1936 if (shutdown) 1937 return State::kLocked; 1934 1938 } 1935 1939
Note:
See TracChangeset
for help on using the changeset viewer.