Skip to content

Commit e9e05d4

Browse files
Merge pull request #27 from NikolasK-source/main
v1.3.2
2 parents 0d4ba00 + ea67f4b commit e9e05d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.13.4 FATAL_ERROR)
44
# ======================================================================================================================
55

66
# project
7-
project(Modbus_TCP_client_shm LANGUAGES CXX VERSION 1.3.1)
7+
project(Modbus_TCP_client_shm LANGUAGES CXX VERSION 1.3.2)
88

99
# settings
1010
set(Target "modbus-tcp-client-shm") # Executable name (without file extension!)

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The application is available as [modbus-tcp-client-shm](https://aur.archlinux.or
8383
See the [Arch Wiki](https://wiki.archlinux.org/title/Arch_User_Repository) for information about how to install AUR packages.
8484

8585

86-
### Using the Modbus Collection Flapak Package: Shared Memory Modbus (recommended)
86+
### Using the Modbus Collection Flatpak Package: Shared Memory Modbus (recommended)
8787
[SHM-Modbus](https://nikolask-source.github.io/SHM_Modbus/) is a collection of the shared memory modbus tools.
8888
It is available as flatpak and published on flathub as ```network.koesling.shm-modbs```.
8989

src/modbus_shm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Shm_Mapping::Shm_Mapping(std::size_t nb_bits,
3939
shm_data[DO] = std::make_unique<cxxshm::SharedMemory>(prefix + "DO", nb_bits, false, !force);
4040
shm_data[DI] = std::make_unique<cxxshm::SharedMemory>(prefix + "DI", nb_input_bits, false, !force);
4141
shm_data[AO] = std::make_unique<cxxshm::SharedMemory>(prefix + "AO", 2 * nb_registers, false, !force);
42-
shm_data[AI] = std::make_unique<cxxshm::SharedMemory>(prefix + "AI", nb_input_registers, false, !force);
42+
shm_data[AI] = std::make_unique<cxxshm::SharedMemory>(prefix + "AI", 2 * nb_input_registers, false, !force);
4343

4444
// set shm objects as modbus register storage
4545
mapping.tab_bits = static_cast<uint8_t *>(shm_data[DO]->get_addr());

0 commit comments

Comments
 (0)