From: Aurelien Jacobs Date: Sun, 19 Jan 2014 22:24:58 +0000 (+0100) Subject: rigol-ds: add more valid timebases for DS2302 X-Git-Tag: libsigrok-0.3.0~230 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8e06edf5282647deb9ddcc9ffad5bd6f94ae6f6a;p=libsigrok.git rigol-ds: add more valid timebases for DS2302 --- diff --git a/hardware/rigol-ds/api.c b/hardware/rigol-ds/api.c index 6220c61f..c11d3b64 100644 --- a/hardware/rigol-ds/api.c +++ b/hardware/rigol-ds/api.c @@ -53,6 +53,7 @@ static const int32_t analog_hwcaps[] = { static const uint64_t timebases[][2] = { /* nanoseconds */ + { 1, 1000000000 }, { 2, 1000000000 }, { 5, 1000000000 }, { 10, 1000000000 }, @@ -90,7 +91,7 @@ static const uint64_t timebases[][2] = { { 100, 1 }, { 200, 1 }, { 500, 1 }, - /* { 1000, 1 }, Confuses other code? */ + { 1000, 1 }, }; static const uint64_t vdivs[][2] = {