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:
parent
c9dfc547f4
commit
ee1c417e9b
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
/****************************************************************************/
|
||||
|
||||
#include "ecrt.h"
|
||||
#include <ecrt.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue