Skip to content
Snippets Groups Projects
Commit e311ab51 authored by Giuseppe Carboni's avatar Giuseppe Carboni
Browse files

Update for bad check on an enumeration for SRT MS

parent f2a7e07f
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ void SRTMinorServoSetupThread::runLoop()
{
try
{
if(servo->setup(m_core.m_commanded_setup.c_str(), m_core.m_as_configuration.load()))
if(servo->setup(m_core.m_commanded_setup.c_str(), m_core.m_as_configuration.load() == Management::MNG_TRUE ? false : true))
{
m_core.m_current_servos[servo_name] = servo;
try
......@@ -176,7 +176,7 @@ void SRTMinorServoSetupThread::runLoop()
}
}
if(!m_core.m_as_configuration.load())
if(m_core.m_as_configuration.load() == Management::MNG_FALSE)
{
// We commanded a configuration which does not use the active surface, therefore we need to send some slightly different coordinates with a preset command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment