Datalog: show traced data as signed ints, not unsigned.
This commit is contained in:
parent
24f5416bba
commit
76bf5ef75a
|
|
@ -63,7 +63,7 @@ static void emit_log_data(void) {
|
|||
// Naive format: each line contains all values, beginning with the time
|
||||
fprintf(file, "%lu", prev_t/1000); // microseconds
|
||||
for (int i = 0; i < pin_count; i++)
|
||||
fprintf(file, " %u", values[i]);
|
||||
fprintf(file, " %d", values[i]);
|
||||
fprintf(file, "\n");
|
||||
fflush(file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue