Просмотр исходного кода

Fixed define OPENER_ETHLINK_IFACE_CTRL_ENABLE missing for MINGW and WIN32

Added the define as needed in opener_user_conf.h that was missing for the
MINGW and WIN32 ports. Now all three ports are in sync again.

Signed-off-by: Stefan Mätje <stefan.maetje@esd.eu>
Stefan Mätje 6 лет назад
Родитель
Сommit
3b38b8f575

+ 3 - 0
source/src/ports/MINGW/sample_application/opener_user_conf.h

@@ -43,6 +43,7 @@ typedef unsigned short in_port_t;
   /* Enable all the stuff the DLR device depends on */
   #define OPENER_TCPIP_IFACE_CFG_SETTABLE 1
   #define OPENER_ETHLINK_CNTRS_ENABLE     1
+  #define OPENER_ETHLINK_IFACE_CTRL_ENABLE  1
   #define OPENER_ETHLINK_LABEL_ENABLE     1
   #define OPENER_ETHLINK_INSTANCE_CNT     3
 #endif
@@ -106,6 +107,8 @@ typedef unsigned short in_port_t;
   #define OPENER_ETHLINK_IFACE_CTRL_ENABLE 0
 #endif
 
+
+
 /** @brief Define the number of objects that may be used in connections
  *
  *  This number needs only to consider additional objects. Connections to

+ 3 - 0
source/src/ports/WIN32/sample_application/opener_user_conf.h

@@ -46,6 +46,7 @@ typedef unsigned short in_port_t;
   /* Enable all the stuff the DLR device depends on */
   #define OPENER_TCPIP_IFACE_CFG_SETTABLE 1
   #define OPENER_ETHLINK_CNTRS_ENABLE     1
+  #define OPENER_ETHLINK_IFACE_CTRL_ENABLE  1
   #define OPENER_ETHLINK_LABEL_ENABLE     1
   #define OPENER_ETHLINK_INSTANCE_CNT     3
 #endif
@@ -109,6 +110,8 @@ typedef unsigned short in_port_t;
   #define OPENER_ETHLINK_IFACE_CTRL_ENABLE 0
 #endif
 
+
+
 /** @brief Define the number of objects that may be used in connections
  *
  *  This number needs only to consider additional objects. Connections to