Skip to content

Commit

Permalink
Merge branch 'release/v1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocarnelos committed May 3, 2022
2 parents 8776195 + 82851cd commit 87d79a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ void loraTask(void * pvArguments) {
while (true) {
char message[LORA_MESSAGE_BUFFER_SIZE];
strcpy(message, loraMetrics[0].value);
strcpy(loraMetrics[0].value, "0");
for (int i = 1; i < sizeof(loraMetrics)/sizeof(*loraMetrics); i++) {
strcat(message, " ");
strcat(message, loraMetrics[i].value);
strcpy(loraMetrics[i].value, "0");
}
strcat(message, "\n");

Expand Down

0 comments on commit 87d79a5

Please sign in to comment.