Skip to content

Commit

Permalink
[driver/labjack/scanner] format
Browse files Browse the repository at this point in the history
  • Loading branch information
Lham42 committed Nov 5, 2024
1 parent 5d998d4 commit 601bb3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver/labjack/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ json labjack::ScannerTask::get_devices() {
int labjack::ScannerTask::check_err(int err) {
// First check if it is LJME_AUTO_IPS_FILE_NOT_FOUND as this is a known
// bug on the LJM Library when no devices are connected
if(err == LJME_AUTO_IPS_FILE_NOT_FOUND) {
return 0;
}
if(err == LJME_AUTO_IPS_FILE_NOT_FOUND) return 0;
return labjack::check_err_internal(
err,
"",
Expand Down

0 comments on commit 601bb3f

Please sign in to comment.