ch = l->data;
pch = ch->priv;
/* Add mqflags from channel_group_spec only to voltage
- * and current channels
+ * and current channels.
*/
if (pch->mq == SR_MQ_VOLTAGE || pch->mq == SR_MQ_CURRENT)
pch->mqflags = cgs->mqflags;
sr_scpi_hw_info_free(hw_info);
hw_info = NULL;
- /* Don't send SCPI_CMD_LOCAL for HP 66xxB devices using SCPI over GPIB */
+ /* Don't send SCPI_CMD_LOCAL for HP 66xxB using SCPI over GPIB. */
if (!(devc->device->dialect == SCPI_DIALECT_HP_66XXB &&
scpi->transport == SCPI_TRANSPORT_LIBGPIB))
sr_scpi_cmd(sdi, devc->device->commands, 0, NULL, SCPI_CMD_LOCAL);
devc = sdi->priv;
- /* Don't send SCPI_CMD_REMOTE for HP 66xxB devices using SCPI over GPIB */
+ /* Don't send SCPI_CMD_REMOTE for HP 66xxB using SCPI over GPIB. */
if (!(devc->device->dialect == SCPI_DIALECT_HP_66XXB &&
scpi->transport == SCPI_TRANSPORT_LIBGPIB))
sr_scpi_cmd(sdi, devc->device->commands, 0, NULL, SCPI_CMD_REMOTE);
sr_scpi_cmd(sdi, devc->device->commands,
0, NULL, SCPI_CMD_BEEPER_ENABLE);
- /* Don't send SCPI_CMD_LOCAL for HP 66xxB devices using SCPI over GPIB */
+ /* Don't send SCPI_CMD_LOCAL for HP 66xxB using SCPI over GPIB. */
if (!(devc->device->dialect == SCPI_DIALECT_HP_66XXB &&
scpi->transport == SCPI_TRANSPORT_LIBGPIB))
sr_scpi_cmd(sdi, devc->device->commands, 0, NULL, SCPI_CMD_LOCAL);