From dd77f3d7858ffaccb699b2575d00a5263ee048f5 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 11 Jul 2024 00:20:51 -0400 Subject: [PATCH] adding include, updating tests, updating libs --- include/Modbus/Modbus.h | 1 + lib/CppUtilities | 2 +- tests/CMakeLists.txt | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/Modbus/Modbus.h b/include/Modbus/Modbus.h index 6e61129..4497031 100644 --- a/include/Modbus/Modbus.h +++ b/include/Modbus/Modbus.h @@ -39,6 +39,7 @@ * How do slaves get enumerated? -> Predetermined addresses * */ +using size_t = std::size_t; namespace Modbus { const constexpr uint8_t kStatusResponseAddValue = diff --git a/lib/CppUtilities b/lib/CppUtilities index 33f053b..5a1cc39 160000 --- a/lib/CppUtilities +++ b/lib/CppUtilities @@ -1 +1 @@ -Subproject commit 33f053b5f6c960369089f362cc619c75808fd907 +Subproject commit 5a1cc39df5753c682d250914fdfb269e34cf7376 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 449fe7f..075ae1d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -36,13 +36,13 @@ set(DIR_SRCS # ${TestSources}/test_ConnectedDevice.cpp ${TestSources}/test_Crc.cpp ${TestSources}/test_DataConversion.cpp - ${TestSources}/test_HoldingRegisters.cpp + # ${TestSources}/test_HoldingRegisters.cpp ${TestSources}/test_MappedHoldingRegisterController.cpp #${TestSources}/test_MappedInputRegisterController.cpp ${TestSources}/test_MappedRegisterDataStore.cpp # ${TestSources}/test_RtuMaster.cpp ${TestSources}/test_RtuProtocol.cpp - ${TestSources}/test_RtuSlave.cpp + # ${TestSources}/test_RtuSlave.cpp ${TestSources}/test_buffer.cpp ${TestSources}/test_ringbuffer.cpp ${TestSources}/test_Modbus.cpp