Skip to content

Commit

Permalink
avoid mac make error
Browse files Browse the repository at this point in the history
  • Loading branch information
L-607 authored and rettichschnidi committed May 31, 2023
1 parent 8d1a713 commit 5146594
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/bootstrap_server/bootstrap_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void print_usage(const char *filename, const char *port) {
fprintf(stdout, " -l PORT\tSet the local UDP port of the Bootstrap Server. Default: %s\r\n", port);
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}

Expand Down
2 changes: 1 addition & 1 deletion examples/client/lwm2mclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ void print_usage(void)
fprintf(stdout, " -b\t\tBootstrap requested.\r\n");
fprintf(stdout, " -c\t\tChange battery level over time.\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
#ifdef WITH_TINYDTLS
fprintf(stdout, " -i STRING\tSet the device management or bootstrap server PSK identity. If not set use none secure mode\r\n");
fprintf(stdout, " -s HEXSTRING\tSet the device management or bootstrap server Pre-Shared-Key. If not set use none secure mode\r\n");
Expand Down
2 changes: 1 addition & 1 deletion examples/lightclient/lightclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void print_usage(void)
fprintf(stdout, " -l PORT\tSet the local UDP port of the Client. Default: 56830\r\n");
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}

Expand Down
2 changes: 1 addition & 1 deletion examples/server/lwm2mserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ void print_usage(void)
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -l PORT\tSet the local UDP port of the Server. Default: "LWM2M_STANDARD_PORT_STR"\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}

Expand Down

0 comments on commit 5146594

Please sign in to comment.