Skip to content

Commit

Permalink
Merge pull request #145 from ARMmbed/swap-ep-dev-id
Browse files Browse the repository at this point in the history
Fix wrong print of `Endpoint name` and `Device ID`
  • Loading branch information
teetak01 authored Aug 24, 2020
2 parents 4984622 + c8bd4ca commit 15366ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Mutex value_increment_mutex;
void print_client_ids(void)
{
printf("Account ID: %s\n", cloud_client->endpoint_info()->account_id.c_str());
printf("Endpoint name: %s\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str());
printf("Device ID: %s\n\n", cloud_client->endpoint_info()->endpoint_name.c_str());
printf("Endpoint name: %s\n", cloud_client->endpoint_info()->endpoint_name.c_str());
printf("Device ID: %s\n\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str());
}

void value_increment(void)
Expand Down

0 comments on commit 15366ee

Please sign in to comment.