Commit 8a91ceb2 authored by Ivan Tyagov's avatar Ivan Tyagov

Cleanup.

parent e2f98090
...@@ -48,8 +48,6 @@ ...@@ -48,8 +48,6 @@
#include <signal.h> #include <signal.h>
#include <argp.h> #include <argp.h>
#include <string.h> #include <string.h>
#include "common.h"
#include "mod_io_i2c.h"
#include <time.h> #include <time.h>
#include <open62541/plugin/log_stdout.h> #include <open62541/plugin/log_stdout.h>
#include <open62541/server.h> #include <open62541/server.h>
...@@ -57,6 +55,10 @@ ...@@ -57,6 +55,10 @@
#include <open62541/plugin/accesscontrol_default.h> #include <open62541/plugin/accesscontrol_default.h>
#include <open62541/plugin/pubsub_ethernet.h> #include <open62541/plugin/pubsub_ethernet.h>
#include <open62541/plugin/pubsub_udp.h> #include <open62541/plugin/pubsub_udp.h>
#include "common.h"
// variable indicating if OPC UA server is running or not
static volatile UA_Boolean running = true;
// global ID of coupler // global ID of coupler
static int COUPLER_ID = 0; static int COUPLER_ID = 0;
...@@ -92,6 +94,7 @@ char *PASSWORD; ...@@ -92,6 +94,7 @@ char *PASSWORD;
char *X509_KEY_FILENAME; char *X509_KEY_FILENAME;
char *X509_CERTIFICATE_FILENAME; char *X509_CERTIFICATE_FILENAME;
#include "mod_io_i2c.h"
#include "gpio.h" #include "gpio.h"
#include "keep_alive.h" #include "keep_alive.h"
#include "keep_alive_publisher.h" #include "keep_alive_publisher.h"
...@@ -99,8 +102,6 @@ char *X509_CERTIFICATE_FILENAME; ...@@ -99,8 +102,6 @@ char *X509_CERTIFICATE_FILENAME;
#include "cli.h" #include "cli.h"
#include "mod_io_opc_ua.h" #include "mod_io_opc_ua.h"
static volatile UA_Boolean running = true;
static void stopHandler(int sign) static void stopHandler(int sign)
{ {
UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "received ctrl-c"); UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "received ctrl-c");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment