File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
examples/riot/coap_federated Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ CFLAGS += -DCONFIG_COAP_MAX_RETRANSMIT=4
32
32
33
33
# Set the remote sender address
34
34
ifndef REMOTE_ADDRESS
35
- ifndef ONLY_GET_IP
35
+ ifndef ONLY_PRINT_IP
36
36
$(error REMOTE_ADDRESS is not defined. Please define it!)
37
37
else
38
- CFLAGS += -DONLY_GET_IP =$(ONLY_GET_IP )
38
+ CFLAGS += -DONLY_PRINT_IP =$(ONLY_PRINT_IP )
39
39
endif
40
40
endif
41
41
CFLAGS += -DREMOTE_ADDRESS=\"$(REMOTE_ADDRESS ) \"
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ void print_ip_addresses(void) {
108
108
}
109
109
110
110
int main () {
111
- #ifdef ONLY_GET_IP
111
+ #ifdef ONLY_PRINT_IP
112
112
print_ip_addresses ();
113
113
#else
114
114
lf_start ();
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ CFLAGS += -DCONFIG_COAP_MAX_RETRANSMIT=4
32
32
33
33
# Set the remote receiver address
34
34
ifndef REMOTE_ADDRESS
35
- ifndef ONLY_GET_IP
35
+ ifndef ONLY_PRINT_IP
36
36
$(error REMOTE_ADDRESS is not defined. Please define it!)
37
37
else
38
- CFLAGS += -DONLY_GET_IP =$(ONLY_GET_IP )
38
+ CFLAGS += -DONLY_PRINT_IP =$(ONLY_PRINT_IP )
39
39
endif
40
40
endif
41
41
CFLAGS += -DREMOTE_ADDRESS=\"$(REMOTE_ADDRESS ) \"
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ void print_ip_addresses(void) {
118
118
}
119
119
120
120
int main () {
121
- #ifdef ONLY_GET_IP
121
+ #ifdef ONLY_PRINT_IP
122
122
print_ip_addresses ();
123
123
#else
124
124
lf_start ();
You can’t perform that action at this time.
0 commit comments