CSV file head line

This commit is contained in:
dreamsource-tai 2024-07-29 17:57:58 +08:00
parent 9aaebe56cf
commit 88058f992e

View File

@ -155,8 +155,8 @@ static GString *gen_header(const struct sr_output *o)
/* Some metadata */
t = time(NULL);
g_string_append_printf(header, "; CSV, generated by %s on %s\n",
"DSView", o->time_string); //ctime(&t)
g_string_append_printf(header, "; CSV, generated by DSView, sampled on %s\n",
o->time_string); //ctime(&t)
/* Columns / channels */
if (ctx->type == SR_CHANNEL_LOGIC)