X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fyokogawa-dlm%2Fapi.c;h=61c71ea8320d0101992180d6fd5970d656d4360b;hb=e57057aee778e723da572a6b5e2bd01526cc7beb;hp=382762b6a5c2dbe868d463bc7a79d51af69892d0;hpb=41812aca436805b0614f2a8f31cf2f8ce494aea0;p=libsigrok.git diff --git a/src/hardware/yokogawa-dlm/api.c b/src/hardware/yokogawa-dlm/api.c index 382762b6..61c71ea8 100644 --- a/src/hardware/yokogawa-dlm/api.c +++ b/src/hardware/yokogawa-dlm/api.c @@ -18,7 +18,9 @@ * along with this program. If not, see . */ +#include #include +#include "scpi.h" #include "protocol.h" SR_PRIV struct sr_dev_driver yokogawa_dlm_driver_info; @@ -234,7 +236,6 @@ static int config_get(uint32_t key, GVariant **data, const struct sr_dev_inst *s if ((cg_type = check_channel_group(devc, cg)) == CG_INVALID) return SR_ERR; - ret = SR_ERR_NA; model = devc->model_config; state = devc->model_state;