X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fcsv.c;h=ea328c4b092a8eee5c498c71ea946ce8e4dd8594;hb=refs%2Fheads%2Flibsigrok-0.5.x;hp=4752658716d1e827731c543411f40fa18893a9ff;hpb=8cd15dd4ce2fdbefbcc6e64632c8006e5404f253;p=libsigrok.git diff --git a/src/output/csv.c b/src/output/csv.c index 47526587..ea328c4b 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -44,7 +44,7 @@ * Values are "channel", "units", "off". Defaults to "units". * * time: Whether or not the first column should include the time the sample - * was taken. Defaults to TRUE. + * was taken. Defaults to FALSE. * * trigger: Whether or not to add a "trigger" column as the last column. * Defaults to FALSE. @@ -252,7 +252,7 @@ static GString *gen_header(const struct sr_output *o, g_string_append_printf(header, "%s CSV generated by %s %s\n%s from %s on %s", ctx->comment, PACKAGE_NAME, - SR_PACKAGE_VERSION_STRING, ctx->comment, + sr_package_version_string_get(), ctx->comment, ctx->title, ctime(&hdr->starttime.tv_sec)); /* Columns / channels */ @@ -658,7 +658,7 @@ static const struct sr_option *get_options(void) l = g_slist_append(l, g_variant_ref_sink(g_variant_new_string("channel"))); l = g_slist_append(l, g_variant_ref_sink(g_variant_new_string("off"))); options[7].values = l; - options[8].def = g_variant_ref_sink(g_variant_new_boolean(TRUE)); + options[8].def = g_variant_ref_sink(g_variant_new_boolean(FALSE)); options[9].def = g_variant_ref_sink(g_variant_new_boolean(FALSE)); options[10].def = g_variant_ref_sink(g_variant_new_boolean(FALSE)); }