scpi-dmm: Fix coding style.

This commit is contained in:
Frank Stettner 2020-05-03 10:57:35 +02:00 committed by Uwe Hermann
parent 6d2e307016
commit 1c8110dbc7
1 changed files with 11 additions and 11 deletions

View File

@ -109,14 +109,14 @@ SR_PRIV const struct scpi_dmm_model models[] = {
1, 5, cmdset_agilent, ARRAY_AND_SIZE(mqopts_agilent_34405a),
scpi_dmm_get_meas_agilent,
ARRAY_AND_SIZE(devopts_generic),
0,
0,
},
{
"Keysight", "34465A",
1, 5, cmdset_agilent, ARRAY_AND_SIZE(mqopts_agilent_34405a),
scpi_dmm_get_meas_agilent,
ARRAY_AND_SIZE(devopts_generic),
0,
0,
},
{
"HP", "34401A",
@ -180,7 +180,7 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
sdi->driver = &scpi_dmm_driver_info;
sdi->inst_type = SR_INST_SCPI;
sr_scpi_hw_info_free(hw_info);
if (model->read_timeout_us) /* non-default read timeout */
if (model->read_timeout_us) /* non-default read timeout */
scpi->read_timeout_us = model->read_timeout_us;
devc = g_malloc0(sizeof(*devc));
sdi->priv = devc;