Merge branch 'Fix-19' into 'master'

Fix #19: directly include soe_error_codes into SoeCommand.cpp

Closes #19

See merge request etherlab.org/ethercat!39
This commit is contained in:
Florian Pose
2021-11-30 09:49:01 +00:00
2 changed files with 1 additions and 3 deletions

View File

@@ -36,7 +36,6 @@ EXTRA_DIST =
bin_PROGRAMS = ethercat bin_PROGRAMS = ethercat
ethercat_SOURCES = \ ethercat_SOURCES = \
../master/soe_errors.c \
Command.cpp \ Command.cpp \
CommandAlias.cpp \ CommandAlias.cpp \
CommandCrc.cpp \ CommandCrc.cpp \

View File

@@ -31,8 +31,7 @@
using namespace std; using namespace std;
#include "SoeCommand.h" #include "SoeCommand.h"
#include "../master/soe_errors.c"
extern const ec_code_msg_t soe_error_codes[];
/*****************************************************************************/ /*****************************************************************************/