X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic-pro%2Fprotocol.c;h=eb6d07d2ca6d27d825df91af8df789d90cc9dfb5;hb=53279f13e4694fcf2aba314baade418941b0bc3e;hp=7118cd17b5a4ba84c35de8f8e62ee7a6fafc1de5;hpb=bb0c52719e43d4f81b63dbeea906ff89183cde21;p=libsigrok.git diff --git a/src/hardware/saleae-logic-pro/protocol.c b/src/hardware/saleae-logic-pro/protocol.c index 7118cd17..eb6d07d2 100644 --- a/src/hardware/saleae-logic-pro/protocol.c +++ b/src/hardware/saleae-logic-pro/protocol.c @@ -386,6 +386,7 @@ static int authenticate(const struct sr_dev_inst *sdi) return SR_OK; } +#if 0 static int set_led(const struct sr_dev_inst *sdi, uint8_t r, uint8_t g, uint8_t b) { uint8_t regs[][2] = { @@ -398,6 +399,7 @@ static int set_led(const struct sr_dev_inst *sdi, uint8_t r, uint8_t g, uint8_t return write_regs(sdi, regs, G_N_ELEMENTS(regs)); } +#endif static int configure_channels(const struct sr_dev_inst *sdi) {