Skip to content
Snippets Groups Projects
Commit 96da9c5c authored by Jean Coquet's avatar Jean Coquet
Browse files

minor bug correction

parent d1af7f1e
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,6 @@ void FixedPositions::get_device_property()
this->fixedPositionsSyntax.push_back (std::string("<BWLS>RZ;RS;RX;X;S;Z"));
this->fixedPositionsSyntax.push_back (std::string("<FWLS>RZ;RS;RX;X;S;Z"));
this->fixedPositionsSyntax.push_back (std::string("<UC>RZ;RS;RX;X;S;Z"));
this->fixedPositionsSyntax.push_back (std::string("<deadband>0.01"));
//- the Deadband default values: 1 value for each axis (used by all fixed positions)
this->deadband.push_back (0.5);
......@@ -529,6 +528,7 @@ bool FixedPositions::parse()
s << "FixedPositions::parse () at line <" << i << "> "
<< fixedPositionsProp [i] << " not enough arguments [fix property and restart device]" << std::endl;
status_str = s.str ();
ERROR_STREAM << s.str ();
return false;
}
//- the attribute name
......@@ -537,6 +537,7 @@ bool FixedPositions::parse()
std::stringstream s;
s << "FixedPositions::parse () line <" << i << "> "
<< fixedPositionsProp [i] << " should respect syntax <position>ma_position_1 [fix property and restart device]" << std::endl;
ERROR_STREAM << s.str ();
status_str = s.str ();
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment