Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
E2Sextupole
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dt
ds
E2Sextupole
Commits
22bb1464
Commit
22bb1464
authored
5 months ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
fix hadling of DesignStrength
parent
fbfd5fd9
No related branches found
Branches containing commit
No related tags found
2 merge requests
!2
Development
,
!1
Development
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/E2Sextupole.cpp
+2
-1
2 additions, 1 deletion
src/E2Sextupole.cpp
with
2 additions
and
1 deletion
src/E2Sextupole.cpp
+
2
−
1
View file @
22bb1464
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment