Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Commit b0aa7d3

Browse files
committed
Merge pull request #43 from francip/master
Fixing bug with installation id
2 parents 827093e + 81311d5 commit b0aa7d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cc3200/samples/quickstart/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void initBoard() {
8181
ClearTerm();
8282

8383
UART_PRINT("QuickStart - Parse for IoT sample application\r\n");
84-
UART_PRINT("----------------------------------------\r\n");
84+
UART_PRINT("---------------------------------------------\r\n");
8585
UART_PRINT("\r\n");
8686
UART_PRINT("[QuickStart] Board init\r\n");
8787

cc3200/src/utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void createNewInstallationId(ParseClientInternal *parseClient) {
9292
}
9393

9494
snprintf(parseClient->installationId,
95-
sizeof(parseClient->installationId)-1,
95+
sizeof(parseClient->installationId),
9696
"%x%x%x%x%x%x%x%x-%x%x%x%x-%x%x%x%x-%x%x%x%x-%x%x%x%x%x%x%x%x%x%x%x%x",
9797
rand()%16, rand()%16, rand()%16, rand()%16, rand()%16, rand()%16, rand()%16, rand()%16,
9898
rand()%16, rand()%16, rand()%16, rand()%16,

0 commit comments

Comments
 (0)