Update to libicsneo v0.2.0
parent
8d21b98ac6
commit
028538cc90
|
|
@ -223,9 +223,8 @@ void searchForDevices() {
|
|||
});
|
||||
if(!newDevice.device->open() || !newDevice.device->goOnline()) {
|
||||
if(firstTimeFailedToOpen) {
|
||||
icsneo::APIError err;
|
||||
icsneo::GetLastError(err);
|
||||
LOGF(LOG_INFO, "%s failed to connect. Will keep trying...\n%s\n", newDevice.device->describe().c_str(), err.describe().c_str());
|
||||
const std::string err = icsneo::GetLastError().describe();
|
||||
LOGF(LOG_INFO, "%s failed to connect. Will keep trying...\n%s\n", newDevice.device->describe().c_str(), err.c_str());
|
||||
failedToOpen.push_back(serial);
|
||||
}
|
||||
continue;
|
||||
|
|
@ -321,7 +320,7 @@ void searchForDevices() {
|
|||
openDevices.end()
|
||||
);
|
||||
|
||||
for(const auto& err : icsneo::GetErrors()) {
|
||||
for(const auto& err : icsneo::GetEvents()) {
|
||||
bool forErrorDevice = false;
|
||||
for(const auto& dev : failedToOpen) {
|
||||
if(err.isForDevice(dev)) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2a47b6f179699f67dc8c39634ea245c49b02ec0f
|
||||
Subproject commit b09f85693fef5e5513f099648cdf165ade5d20f2
|
||||
Loading…
Reference in New Issue