Skip to content

Commit 15366ee

Browse files
authored
Merge pull request #145 from ARMmbed/swap-ep-dev-id
Fix wrong print of `Endpoint name` and `Device ID`
2 parents 4984622 + c8bd4ca commit 15366ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Mutex value_increment_mutex;
5050
void print_client_ids(void)
5151
{
5252
printf("Account ID: %s\n", cloud_client->endpoint_info()->account_id.c_str());
53-
printf("Endpoint name: %s\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str());
54-
printf("Device ID: %s\n\n", cloud_client->endpoint_info()->endpoint_name.c_str());
53+
printf("Endpoint name: %s\n", cloud_client->endpoint_info()->endpoint_name.c_str());
54+
printf("Device ID: %s\n\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str());
5555
}
5656

5757
void value_increment(void)

0 commit comments

Comments
 (0)