From 91e1658d3f1c4088ea84136a9e0250b3253669d4 Mon Sep 17 00:00:00 2001
From: Davide Mor <davide.mor@skywarder.eu>
Date: Mon, 9 Sep 2024 23:49:05 +0200
Subject: [PATCH] [LoadCell] Fixed warning

---
 src/shared/sensors/analog/TwoPointAnalogLoadCell.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/shared/sensors/analog/TwoPointAnalogLoadCell.h b/src/shared/sensors/analog/TwoPointAnalogLoadCell.h
index 1fdeda5b4..ff4ec8d98 100644
--- a/src/shared/sensors/analog/TwoPointAnalogLoadCell.h
+++ b/src/shared/sensors/analog/TwoPointAnalogLoadCell.h
@@ -54,9 +54,9 @@ public:
     }
 
     TwoPointAnalogLoadCell(TwoPointAnalogLoadCell&& other)
-        : getVoltage{std::move(other.getVoltage)},
+        : getVoltage{std::move(other.getVoltage)}, offsetMutex{},
           dynamicOffset{other.dynamicOffset}, staticScale{other.staticScale},
-          staticOffset{other.staticOffset}, offsetMutex{}
+          staticOffset{other.staticOffset}
     {
     }
 
-- 
GitLab