X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Flink-mso19%2Fprotocol.h;h=337814bf10e32965157a741f3cdda175d8b325bc;hb=c442ffda0fc6fa9bc3c5397a21ef1d04f01a64a1;hp=809d7f87177648b5756f57b20a03a30a410639b6;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/link-mso19/protocol.h b/src/hardware/link-mso19/protocol.h index 809d7f87..337814bf 100644 --- a/src/hardware/link-mso19/protocol.h +++ b/src/hardware/link-mso19/protocol.h @@ -34,7 +34,6 @@ #define USB_VENDOR "3195" #define USB_PRODUCT "f190" -#define NUM_CHANNELS (1 + 8) #define NUM_TRIGGER_STAGES 4 #define TRIGGER_TYPE "01" //the first r/f is used for the whole group #define SERIALCOMM "460800/8n1/flow=2" @@ -135,7 +134,7 @@ SR_PRIV int mso_read_buffer(struct sr_dev_inst *sdi); SR_PRIV int mso_arm(const struct sr_dev_inst *sdi); SR_PRIV int mso_force_capture(struct sr_dev_inst *sdi); SR_PRIV int mso_dac_out(const struct sr_dev_inst *sdi, uint16_t val); -SR_PRIV inline uint16_t mso_calc_raw_from_mv(struct dev_context *devc); +SR_PRIV uint16_t mso_calc_raw_from_mv(struct dev_context *devc); SR_PRIV int mso_reset_fsm(struct sr_dev_inst *sdi); SR_PRIV int mso_toggle_led(struct sr_dev_inst *sdi, int state);