Skip to content

Commit 553d448

Browse files
authored
Update configNETWORK_INTERFACE_TO_USE default value for demos to 0L (FreeRTOS#353)
To avoid silent errors, configNETWORK_INTERFACE_TO_USE should be defaulted to 0L.
1 parent afc5563 commit 553d448

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
* results in the wired network being used, while setting
136136
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
137137
* used. */
138-
#define configNETWORK_INTERFACE_TO_USE 1L
138+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
139139

140140
/* The address to which logging is sent should UDP logging be enabled. */
141141
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Basic_TLS/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
* results in the wired network being used, while setting
136136
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
137137
* used. */
138-
#define configNETWORK_INTERFACE_TO_USE 1L
138+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
139139

140140
/* The address to which logging is sent should UDP logging be enabled. */
141141
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Keep_Alive/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* results in the wired network being used, while setting
138138
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
139139
* used. */
140-
#define configNETWORK_INTERFACE_TO_USE 1L
140+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
141141

142142
/* The address to which logging is sent should UDP logging be enabled. */
143143
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Multitask/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* results in the wired network being used, while setting
138138
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
139139
* used. */
140-
#define configNETWORK_INTERFACE_TO_USE 1L
140+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
141141

142142
/* The address to which logging is sent should UDP logging be enabled. */
143143
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Mutual_Auth/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
* results in the wired network being used, while setting
136136
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
137137
* used. */
138-
#define configNETWORK_INTERFACE_TO_USE 1L
138+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
139139

140140
/* The address to which logging is sent should UDP logging be enabled. */
141141
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Plain_Text/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* results in the wired network being used, while setting
138138
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
139139
* used. */
140-
#define configNETWORK_INTERFACE_TO_USE 1L
140+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
141141

142142
/* The address to which logging is sent should UDP logging be enabled. */
143143
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* results in the wired network being used, while setting
138138
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
139139
* used. */
140-
#define configNETWORK_INTERFACE_TO_USE 1L
140+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
141141

142142
/* The address to which logging is sent should UDP logging be enabled. */
143143
#define configUDP_LOGGING_ADDR0 192

FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
* results in the wired network being used, while setting
136136
* configNETWORK_INTERFACE_TO_USE to 2 results in the wireless network being
137137
* used. */
138-
#define configNETWORK_INTERFACE_TO_USE 1L
138+
#define configNETWORK_INTERFACE_TO_USE ( 0L )
139139

140140
/* The address to which logging is sent should UDP logging be enabled. */
141141
#define configUDP_LOGGING_ADDR0 192

0 commit comments

Comments
 (0)