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

fix hadling of DesignStrength

parent 84f23c5b
No related branches found
No related tags found
1 merge request!1Development
......@@ -747,11 +747,12 @@ void E2Octupole::write_DesignStrength(Tango::WAttribute &attr)
// Add your own code
/* clang-format off */
*attr_DesignStrength_read = w_val;
if (design_strength_initialized == false){
if (design_strength_initialized == false){ // only with a value of DesignStrength init process can be completed
design_strength_initialized = true;
init_strengths();
subscribe_events();
}
else init_strengths();
/*----- PROTECTED REGION END -----*/ // E2Octupole::write_DesignStrength
}
......
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