From 601bb3ff14f2ca0c09b4c69b49fb7bcce1882605 Mon Sep 17 00:00:00 2001 From: Elham Islam Date: Tue, 5 Nov 2024 11:47:19 -0800 Subject: [PATCH] [driver/labjack/scanner] format --- driver/labjack/scanner.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver/labjack/scanner.cpp b/driver/labjack/scanner.cpp index 2147e45f9..85ed0f87c 100644 --- a/driver/labjack/scanner.cpp +++ b/driver/labjack/scanner.cpp @@ -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, "",