X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fmanson-hcs-3xxx%2Fapi.c;h=ee478033f3cd2b16fa25e0a59c7409d3fc5d2e3d;hb=7002e64a54a5f8586f96f12a41005f8f8f60b2a6;hp=97a9a30076b5b60e0ca45d7370067e002f064aaf;hpb=4b1a9d5d8641080bf10e269aa12a3fc17460365f;p=libsigrok.git diff --git a/src/hardware/manson-hcs-3xxx/api.c b/src/hardware/manson-hcs-3xxx/api.c index 97a9a300..ee478033 100644 --- a/src/hardware/manson-hcs-3xxx/api.c +++ b/src/hardware/manson-hcs-3xxx/api.c @@ -15,14 +15,16 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ -/** @file - * Manson HCS-3xxx series power supply driver - * @internal - */ +/** + * @file + * + * Manson HCS-3xxx series power supply driver + * + * @internal + */ #include #include "protocol.h" @@ -238,6 +240,7 @@ static int config_set(uint32_t key, GVariant *data, const struct sr_dev_inst *sd switch (key) { case SR_CONF_LIMIT_MSEC: + case SR_CONF_LIMIT_SAMPLES: return sr_sw_limits_config_set(&devc->limits, key, data); case SR_CONF_VOLTAGE_TARGET: dval = g_variant_get_double(data);