Skip to content

Commit 7b861ed

Browse files
committed
Rename only_get_ip to only_print_ip env variable
1 parent 6554503 commit 7b861ed

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/riot/coap_federated/receiver/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ CFLAGS += -DCONFIG_COAP_MAX_RETRANSMIT=4
3232

3333
# Set the remote sender address
3434
ifndef REMOTE_ADDRESS
35-
ifndef ONLY_GET_IP
35+
ifndef ONLY_PRINT_IP
3636
$(error REMOTE_ADDRESS is not defined. Please define it!)
3737
else
38-
CFLAGS += -DONLY_GET_IP=$(ONLY_GET_IP)
38+
CFLAGS += -DONLY_PRINT_IP=$(ONLY_PRINT_IP)
3939
endif
4040
endif
4141
CFLAGS += -DREMOTE_ADDRESS=\"$(REMOTE_ADDRESS)\"

examples/riot/coap_federated/receiver/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void print_ip_addresses(void) {
108108
}
109109

110110
int main() {
111-
#ifdef ONLY_GET_IP
111+
#ifdef ONLY_PRINT_IP
112112
print_ip_addresses();
113113
#else
114114
lf_start();

examples/riot/coap_federated/sender/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ CFLAGS += -DCONFIG_COAP_MAX_RETRANSMIT=4
3232

3333
# Set the remote receiver address
3434
ifndef REMOTE_ADDRESS
35-
ifndef ONLY_GET_IP
35+
ifndef ONLY_PRINT_IP
3636
$(error REMOTE_ADDRESS is not defined. Please define it!)
3737
else
38-
CFLAGS += -DONLY_GET_IP=$(ONLY_GET_IP)
38+
CFLAGS += -DONLY_PRINT_IP=$(ONLY_PRINT_IP)
3939
endif
4040
endif
4141
CFLAGS += -DREMOTE_ADDRESS=\"$(REMOTE_ADDRESS)\"

examples/riot/coap_federated/sender/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void print_ip_addresses(void) {
118118
}
119119

120120
int main() {
121-
#ifdef ONLY_GET_IP
121+
#ifdef ONLY_PRINT_IP
122122
print_ip_addresses();
123123
#else
124124
lf_start();

0 commit comments

Comments
 (0)