From d089b1cb31b051c5e5e9d01ff8fb0bde58e6763d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=B2?= <nicaschool13@gmail.com>
Date: Sat, 4 Nov 2023 15:10:17 +0100
Subject: [PATCH] MY_LIS3DSH.cpp fix

Fixed build failure due to TRACE with logger.
---
 src/shared/sensors/MY_LIS3DSH/MY_LIS3DSH.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/sensors/MY_LIS3DSH/MY_LIS3DSH.cpp b/src/shared/sensors/MY_LIS3DSH/MY_LIS3DSH.cpp
index 343c51b4d..14972d538 100644
--- a/src/shared/sensors/MY_LIS3DSH/MY_LIS3DSH.cpp
+++ b/src/shared/sensors/MY_LIS3DSH/MY_LIS3DSH.cpp
@@ -224,7 +224,7 @@ MY_LIS3DSHData MY_LIS3DSH::sampleImpl()
         if (!(status & MY_LIS3DSHDefs::STATUS_REG_XYZDA))
         {
             lastError = SensorErrors::NO_NEW_DATA;
-            TRACE(logger, "No new data available.");
+            TRACE("No new data available.");
             return lastSample;
         }
 
-- 
GitLab