rigol-ds: Add missing 20/50/100V vdiv entries.

These are available on e.g. Rigol DS1102E (or "upgraded" DS1052E).

Without this, if one of the channels happens to have been set to
one of the missing vdiv settings frontends (e.g. PulseView) will
have some trouble using the scope:

  sr: hwdriver: sr_config_get(): key 30012 (vdiv) sdi 0x11bcb70 cg CH1
  sr: rigol-ds: Negative vdiv index: -1.
  std::exception
This commit is contained in:
Uwe Hermann 2015-02-14 19:08:39 +01:00
parent e1b5b7e735
commit d50725e012
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ static const uint64_t vdivs[][2] = {
{ 2, 1 },
{ 5, 1 },
{ 10, 1 },
{ 20, 1 },
{ 50, 1 },
{ 100, 1 },
};
#define NUM_TIMEBASE ARRAY_SIZE(timebases)