From: Uwe Hermann Date: Sun, 22 Dec 2019 22:49:08 +0000 (+0100) Subject: output/csv: Set default "time" option value to false. X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=5a273567059d4e0d3dc6c7c677ea7d5d092d1524 output/csv: Set default "time" option value to false. --- diff --git a/src/output/csv.c b/src/output/csv.c index 1ff4e3a7..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. @@ -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)); }