Commit b09a63f1 authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by Operator for ID31
Browse files

Make it work on older lima versions

parent 74fca8b4
......@@ -1206,13 +1206,14 @@ bool Camera::hasHighVoltageReset()
{
if(m_cmd_high_voltage_reset == NOT_INITIALIZED)
{
lock.unlock();
try
{
AutoMutexUnlock unlock(lock);
resetHighVoltage();
}
catch(...)
{}
lock.lock();
}
return m_cmd_high_voltage_reset == HAS_HIGH_VOLTAGE;
}
......
Markdown is supported
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