Fix #19: directly include soe_error_codes into SoeCommand.cpp
Avoid having to rebuild conflicting master/soe_errors.c objects. Inside the `tool` folder, the `soe_error_codes` array is used only by SoeCommand, so this should not create further problems.
This commit is contained in:
parent
65285fe74c
commit
e30a39f36e
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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[];
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue