remove EC_RTDM_OPS_HAS_MMAP again

This commit is contained in:
Bjarne von Horn
2024-02-05 09:58:04 +01:00
parent 1c9f9bfe7d
commit 656526f03c
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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.
*/