rigol-ds: use appropriately defined NUM_VDIV constant

This commit is contained in:
Aurelien Jacobs 2014-01-19 23:26:26 +01:00 committed by Martin Ling
parent 8e06edf528
commit 72ecba02f4
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi,
*data = g_variant_new_int32(devc->model->num_horizontal_divs);
break;
case SR_CONF_NUM_VDIV:
*data = g_variant_new_int32(8);
*data = g_variant_new_int32(NUM_VDIV);
case SR_CONF_DATA_SOURCE:
if (devc->data_source == DATA_SOURCE_LIVE)
*data = g_variant_new_string("Live");