Skip to content

Commit 829b9b7

Browse files
Update main.c code cleanup
1 parent 9c3b860 commit 829b9b7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -979,10 +979,10 @@ int main(int argc, char * argv[]) {
979979
}
980980
printf("Updated Sensor String: %s\n", sensor_payload);
981981
}
982-
else if (failureMode != FAIL_PAYLOAD) {
983-
printf("Restoring sensor_payload\n");
984-
strcpy(sensor_payload, buffer2); // restore sensor_payload after strtok operation
985-
}
982+
// else if (failureMode != FAIL_PAYLOAD) {
983+
// printf("Restoring sensor_payload\n");
984+
// strcpy(sensor_payload, buffer2); // restore sensor_payload after strtok operation
985+
// }
986986

987987
char sensor_buffer[30];
988988
int sensor_count;

0 commit comments

Comments
 (0)