mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 11:51:45 +08:00
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:
@@ -36,7 +36,6 @@ EXTRA_DIST =
|
||||
bin_PROGRAMS = ethercat
|
||||
|
||||
ethercat_SOURCES = \
|
||||
../master/soe_errors.c \
|
||||
Command.cpp \
|
||||
CommandAlias.cpp \
|
||||
CommandCrc.cpp \
|
||||
|
||||
@@ -31,8 +31,7 @@
|
||||
using namespace std;
|
||||
|
||||
#include "SoeCommand.h"
|
||||
|
||||
extern const ec_code_msg_t soe_error_codes[];
|
||||
#include "../master/soe_errors.c"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user