Skip to content
Snippets Groups Projects
Commit e8302e89 authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

fix Fault command

parent 0269ff96
No related branches found
No related tags found
1 merge request!1start in OFF state
...@@ -498,7 +498,7 @@ void SimulatedE2PS::fault() ...@@ -498,7 +498,7 @@ void SimulatedE2PS::fault()
/* clang-format on */ /* clang-format on */
// Add your own code // Add your own code
if (get_state() == Tango::ON) return; // command is idempotent if (get_state() == Tango::FAULT) return; // command is idempotent
_current_read = 0.0; _current_read = 0.0;
_current = 0.0; _current = 0.0;
_voltage = 0.0; _voltage = 0.0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment