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

fix hadling of DesignStrength

parent fbfd5fd9
No related branches found
No related tags found
2 merge requests!2Development,!1Development
......@@ -747,11 +747,12 @@ void E2Sextupole::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 -----*/ // E2Sextupole::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