1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

ethercat: fix sample code

This commit is contained in:
Steffen Vogel 2020-01-25 17:38:39 +01:00
parent c9dfc547f4
commit ee1c417e9b
2 changed files with 3 additions and 4 deletions

View file

@ -1,11 +1,10 @@
BINARY=ethertest
#ETHERCAT_ROOT=/projects/ethercat/etherlab-master
ETHERCAT_ROOT=/home/laxetti/ethercat-1.5.2/
ETHERCAT_ROOT=/opt/etherlab
CC=gcc
SRC=main.c
INC_PATH=$(ETHERCAT_ROOT)/include
LIB_PATH=$(ETHERCAT_ROOT)/lib/.libs
LIB_PATH=$(ETHERCAT_ROOT)/lib
LD_FLAGS=-lethercat -lrt
C_FLAGS=-Wall -std=c99

View file

@ -43,7 +43,7 @@
/****************************************************************************/
#include "ecrt.h"
#include <ecrt.h>
/****************************************************************************/