rigol-ds: add more valid timebases for DS2302

This commit is contained in:
Aurelien Jacobs 2014-01-19 23:24:58 +01:00 committed by Martin Ling
parent 889ef4a01c
commit 8e06edf528
1 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ static const int32_t analog_hwcaps[] = {
static const uint64_t timebases[][2] = { static const uint64_t timebases[][2] = {
/* nanoseconds */ /* nanoseconds */
{ 1, 1000000000 },
{ 2, 1000000000 }, { 2, 1000000000 },
{ 5, 1000000000 }, { 5, 1000000000 },
{ 10, 1000000000 }, { 10, 1000000000 },
@ -90,7 +91,7 @@ static const uint64_t timebases[][2] = {
{ 100, 1 }, { 100, 1 },
{ 200, 1 }, { 200, 1 },
{ 500, 1 }, { 500, 1 },
/* { 1000, 1 }, Confuses other code? */ { 1000, 1 },
}; };
static const uint64_t vdivs[][2] = { static const uint64_t vdivs[][2] = {