]> sigrok.org Git - libsigrok.git/commitdiff
output/csv: Set default "time" option value to false.
authorUwe Hermann <redacted>
Sun, 22 Dec 2019 22:49:08 +0000 (23:49 +0100)
committerUwe Hermann <redacted>
Sun, 22 Dec 2019 22:50:11 +0000 (23:50 +0100)
src/output/csv.c

index 1ff4e3a7f7fe2a4d5dbfc433e4329ba6661c35cf..ea328c4b092a8eee5c498c71ea946ce8e4dd8594 100644 (file)
@@ -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));
        }