From: marchelh Date: Sun, 25 Feb 2018 07:48:22 +0000 (+0100) Subject: siglent-sds: Fixed timebase problem where NS could not be selected X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=80eba3857a61931793054f95e6b8c7eac8e3a7fe siglent-sds: Fixed timebase problem where NS could not be selected This fixes bug #1120. --- diff --git a/src/hardware/siglent-sds/api.c b/src/hardware/siglent-sds/api.c index ebefa4bc..66f8b2a8 100644 --- a/src/hardware/siglent-sds/api.c +++ b/src/hardware/siglent-sds/api.c @@ -588,7 +588,7 @@ static int config_set(uint32_t key, GVariant *data, case 1000000: cmd = g_strdup_printf("%" PRIu64 "US", p); break; - case 100000000: + case 1000000000: cmd = g_strdup_printf("%" PRIu64 "NS", p); break; }