Skip to content

Commit

Permalink
adding include, updating tests, updating libs
Browse files Browse the repository at this point in the history
  • Loading branch information
snhobbs committed Jul 11, 2024
1 parent 7bbd465 commit dd77f3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/Modbus/Modbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* How do slaves get enumerated? -> Predetermined addresses
* */

using size_t = std::size_t;
namespace Modbus {

const constexpr uint8_t kStatusResponseAddValue =
Expand Down
2 changes: 1 addition & 1 deletion lib/CppUtilities
Submodule CppUtilities updated 37 files
+6 −6 .github/workflows/cmake.yml
+72 −0 .pre-commit-config.yaml
+0 −1 CMakeLists.txt
+0 −1 CodeStyle.txt
+0 −1 CppUtilitiesConfigVersion.cmake
+0 −1 PackageConfigVersion.cmake.in
+28 −43 include/ArrayView/ArrayView.h
+7 −6 include/BitControl/BitField.h
+7 −5 include/BitControl/tests/test_BitField.cpp
+59 −49 include/Calculators/CalculatorBase.h
+26 −15 include/Calculators/ThermistorCalculator.h
+12 −10 include/Calculators/tests/source/TestCalculatorBase.cpp
+56 −104 include/FiniteDifference/FiniteDifference.h
+0 −1 include/FiniteDifference/tests/cmake/CMakeLists.txt
+125 −120 include/FiniteDifference/tests/source/test_finitedifference.cpp
+4 −7 include/RingBuffer/LightweightRingBuffer.h
+12 −21 include/RingBuffer/RingBuffer.h
+7 −9 include/RingBuffer/SingleElementQueue.h
+0 −1 include/RingBuffer/tests/.gitignore
+0 −1 include/RingBuffer/tests/CMakeLists.txt
+0 −1 include/RingBuffer/tests/source/DataLoader.cpp
+42 −44 include/RingBuffer/tests/source/DataLoader.h
+15 −13 include/RingBuffer/tests/source/test_buffer.cpp
+11 −9 include/RingBuffer/tests/source/test_ringbuffer.cpp
+38 −29 include/TemperatureMeasurement/ThermistorDivider.h
+0 −1 include/TemperatureMeasurement/tests/CMakeLists.txt
+23 −14 include/TemperatureMeasurement/tests/source/TestThermistorDivider.cpp
+13 −24 include/Utilities/CommonTypes.h
+13 −9 include/Utilities/Crc.h
+27 −17 include/Utilities/Serializer.h
+95 −107 include/Utilities/TypeConversion.h
+10 −9 include/Utilities/math.h
+2 −1 include/Utilities/tests/source/test_Crc.cpp
+58 −56 include/linear_fit.h
+0 −1 tests/.gitignore
+1 −0 tests/source/main.cpp
+7 −5 tests/source/test_linear_fit.cpp
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd77f3d

Please sign in to comment.