mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-24 11:03:49 +08:00
remove EC_RTDM_OPS_HAS_MMAP again
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ endif
|
||||
if ENABLE_XENOMAI_V3
|
||||
libethercat_rtdm_la_CFLAGS += $(XENOMAI_RTDM_CFLAGS)
|
||||
libethercat_rtdm_la_LDFLAGS += $(XENOMAI_RTDM_LDFLAGS)
|
||||
libethercat_rtdm_la_CFLAGS += -DUSE_RTDM_XENOMAI_V3 -DEC_RTDM_OPS_HAS_MMAP
|
||||
libethercat_rtdm_la_CFLAGS += -DUSE_RTDM_XENOMAI_V3
|
||||
else
|
||||
libethercat_rtdm_la_CFLAGS += -DUSE_RTDM
|
||||
endif
|
||||
|
||||
+1
-1
@@ -564,7 +564,7 @@ int ecrt_master_activate(ec_master_t *master)
|
||||
master->process_data_size = io.process_data_size;
|
||||
|
||||
if (master->process_data_size) {
|
||||
#if defined(USE_RTDM) || !defined(EC_RTDM_OPS_HAS_MMAP)
|
||||
#ifdef USE_RTDM
|
||||
/* memory-mapping was already done in kernel. The user-space addess is
|
||||
* provided in the ioctl data.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user