]> sigrok.org Git - libsigrok.git/commitdiff
siglent-sds: Fixed timebase problem where NS could not be selected
authormarchelh <redacted>
Sun, 25 Feb 2018 07:48:22 +0000 (08:48 +0100)
committerUwe Hermann <redacted>
Sat, 3 Mar 2018 16:28:49 +0000 (17:28 +0100)
This fixes bug #1120.

src/hardware/siglent-sds/api.c

index ebefa4bca5a4b26f6742bf7630c51cbac0b63021..66f8b2a8fa23a22cb62afa58247720294e8092de 100644 (file)
@@ -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;
                }