mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Encoder works but needs cleanup, GS checksum is not working properly somehow
This commit is contained in:
+5
-1
@@ -150,8 +150,12 @@ bool Device::open() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(settings)
|
||||
bool settingsNecessary = bool(settings); // Check if the shared_ptr exists
|
||||
if(settingsNecessary) {
|
||||
settings->refresh();
|
||||
if(!settings || !settings->ok())
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user