Skip to content

Commit

Permalink
Fixes to multi_server_rtu examples
Browse files Browse the repository at this point in the history
  • Loading branch information
debevv committed Sep 20, 2024
1 parent 8fafaa3 commit 8db45ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/multi_server_rtu.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include "nanomodbus.h"
Expand Down Expand Up @@ -100,6 +101,7 @@ int main(int argc, char* argv[]) {
UNUSED_PARAM(argv);

nmbs_platform_conf c_conf;
nmbs_platform_conf_create(&c_conf);
c_conf.arg = wire;
c_conf.transport = NMBS_TRANSPORT_RTU;
c_conf.read = read_wire;
Expand Down

0 comments on commit 8db45ad

Please sign in to comment.