X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fzeroplus-logic-cube%2Fanalyzer.c;h=321b17c0ed54f11a56c2ac09cf6f8d1e0e0240ba;hb=19c9b176485e6033f024216a56058e507d47b2fc;hp=aa5643ab7e80626dbc43340b5e2aa02e259899d4;hpb=1b4aedc06f4ea5e63c604bf37e5c95c592fab73a;p=libsigrok.git diff --git a/src/hardware/zeroplus-logic-cube/analyzer.c b/src/hardware/zeroplus-logic-cube/analyzer.c index aa5643ab..321b17c0 100644 --- a/src/hardware/zeroplus-logic-cube/analyzer.c +++ b/src/hardware/zeroplus-logic-cube/analyzer.c @@ -420,7 +420,7 @@ SR_PRIV void analyzer_read_start(libusb_device_handle *devh) } SR_PRIV int analyzer_read_data(libusb_device_handle *devh, void *buffer, - unsigned int size) + unsigned int size) { return gl_read_bulk(devh, buffer, size); } @@ -555,7 +555,7 @@ SR_PRIV void analyzer_add_filter(int channel, int type) } g_filter_status[i] |= - 1 << ((2 * channel) + (type == FILTER_LOW ? 1 : 0)); + 1 << ((2 * channel) + (type == FILTER_LOW ? 1 : 0)); g_filter_enable = 1; }