Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadSpecialModules
Commits
e987655b
Commit
e987655b
authored
Dec 18, 2019
by
Guanghan Song
Browse files
Set default value for wanted type in D22AutoConfig
parent
f9ac124f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/controllers/lss/d22autoconfig/D22AutoConfig.cpp
View file @
e987655b
...
...
@@ -175,6 +175,11 @@ bool AutoConfig::initApplication() {
type
.
set
(
i
,
autoConfigResponse
.
types
(
i
));
}
// Set default value.
if
(
size
>
0
)
{
wantedType
=
type
.
get
(
0
);
}
// Application initialized
initialized
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment