Skip to content

Commit 474f0ec

Browse files
Mika Leppänenkjbracey
authored andcommitted
Updated greentea network interface configuration files
1 parent 6bbaf75 commit 474f0ec

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tools/test_configs/EthernetInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"connect-statement" : {
1111
"help" : "Must use 'net' variable name",
12-
"value" : "((EthernetInterface *)net)->connect()"
12+
"value" : "net->connect()"
1313
},
1414
"echo-server-addr" : {
1515
"help" : "IP address of echo server",

tools/test_configs/HeapBlockDeviceAndEthernetInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"connect-statement" : {
1111
"help" : "Must use 'net' variable name",
12-
"value" : "((EthernetInterface *)net)->connect()"
12+
"value" : "net->connect()"
1313
},
1414
"echo-server-addr" : {
1515
"help" : "IP address of echo server",

tools/test_configs/OdinInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"connect-statement" : {
1111
"help" : "Must use 'net' variable name",
12-
"value" : "((OdinWiFiInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD)"
12+
"value" : "net->wifiInterface()->connect(WIFI_SSID, WIFI_PASSWORD)"
1313
},
1414
"echo-server-addr" : {
1515
"help" : "IP address of echo server",

tools/test_configs/Odin_EthernetInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"connect-statement" : {
1111
"help" : "Must use 'net' variable name",
12-
"value" : "((EthernetInterface *)net)->connect()"
12+
"value" : "net->connect()"
1313
},
1414
"echo-server-addr" : {
1515
"help" : "IP address of echo server",

tools/test_configs/RealtekInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"connect-statement" : {
1111
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
12-
"value" : "((RTWInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
12+
"value" : "net->wifiInterface()->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
1313
},
1414
"echo-server-addr" : {
1515
"help" : "IP address of echo server",

0 commit comments

Comments
 (0)