summaryrefslogtreecommitdiff
path: root/src/scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.cpp')
-rw-r--r--src/scanner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scanner.cpp b/src/scanner.cpp
index 9012769..4045121 100644
--- a/src/scanner.cpp
+++ b/src/scanner.cpp
@@ -8,6 +8,8 @@ Scanner::Scanner(std::shared_ptr<ICamera> camera, std::vector<std::shared_ptr<IP
, m_calibrationTableZ{new CalibrationTable{}}
{
// m_protocols.push_back()
+ memset(m_calibrationTableX.get(), 0, sizeof(CalibrationTable));
+ memset(m_calibrationTableZ.get(), 0, sizeof(CalibrationTable));
}
bool Scanner::startAllProtocols()