From 87dbc486744aefb681ef8b3db3ab320676e87f06 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 3 Jul 2020 10:03:55 +0200 Subject: [PATCH] remove ethercat config from top level config --- lib/super_node.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/super_node.cpp b/lib/super_node.cpp index b53e70b20..ec2862f8a 100644 --- a/lib/super_node.cpp +++ b/lib/super_node.cpp @@ -98,15 +98,13 @@ void SuperNode::parse(json_t *cfg) json_t *json_paths = nullptr; json_t *json_logging = nullptr; json_t *json_web = nullptr; - json_t *json_ethercat = nullptr; json_error_t err; idleStop = true; - ret = json_unpack_ex(cfg, &err, JSON_STRICT, "{ s?: o, s?: o, s?: o, s?: o, s?: o, s?: i, s?: i, s?: i, s?: s, s?: b }", + ret = json_unpack_ex(cfg, &err, JSON_STRICT, "{ s?: o, s?: o, s?: o, s?: o, s?: i, s?: i, s?: i, s?: s, s?: b }", "http", &json_web, - "ethercat", &json_ethercat, "logging", &json_logging, "nodes", &json_nodes, "paths", &json_paths,