X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhameg-hmo%2Fprotocol.h;h=370bc0088f5573dc60bc7769c1f5810e71c04236;hb=61c39f54bbcae7bdde86ddb11b2fd0ff308d319b;hp=ff3b398208ab2c7997ef921d846eff537b953db5;hpb=719eff68ad03b4acaea87e227eda361ef2e299be;p=libsigrok.git diff --git a/hardware/hameg-hmo/protocol.h b/hardware/hameg-hmo/protocol.h index ff3b3982..370bc008 100644 --- a/hardware/hameg-hmo/protocol.h +++ b/hardware/hameg-hmo/protocol.h @@ -38,9 +38,6 @@ #define MAX_INSTRUMENT_VERSIONS 10 #define MAX_COMMAND_SIZE 31 -SR_PRIV struct sr_dev_driver hameg_hmo_driver_info; -static struct sr_dev_driver *di = &hameg_hmo_driver_info; - struct scope_config { const char *name[MAX_INSTRUMENT_VERSIONS]; const uint8_t analog_channels; @@ -115,8 +112,6 @@ struct dev_context { SR_PRIV int hmo_init_device(struct sr_dev_inst *sdi); SR_PRIV int hmo_request_data(const struct sr_dev_inst *sdi); SR_PRIV int hmo_receive_data(int fd, int revents, void *cb_data); -SR_PRIV struct sr_dev_inst *hmo_probe_serial_device(const char *serial_device, - const char *serial_options); SR_PRIV struct scope_state *hmo_scope_state_new(struct scope_config *config); SR_PRIV void hmo_scope_state_free(struct scope_state *state);