X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsaleae-logic%2Fsaleae-logic.c;h=e4356d9e4d72159da4f94829423079d48238a2ba;hb=82957b65b111437ebe445b7f165719eec2d4e147;hp=eff4cf9e994edc4712694beaae7738b9a1a77479;hpb=54ac5277c5e462f1778300b9bc3fdd4709ecb2dc;p=libsigrok.git diff --git a/hardware/saleae-logic/saleae-logic.c b/hardware/saleae-logic/saleae-logic.c index eff4cf9e..e4356d9e 100644 --- a/hardware/saleae-logic/saleae-logic.c +++ b/hardware/saleae-logic/saleae-logic.c @@ -73,23 +73,23 @@ static GTimeVal firmware_updated = { 0, 0 }; static libusb_context *usb_context = NULL; static uint64_t supported_samplerates[] = { - KHZ(200), - KHZ(250), - KHZ(500), - MHZ(1), - MHZ(2), - MHZ(4), - MHZ(8), - MHZ(12), - MHZ(16), - MHZ(24), + SR_KHZ(200), + SR_KHZ(250), + SR_KHZ(500), + SR_MHZ(1), + SR_MHZ(2), + SR_MHZ(4), + SR_MHZ(8), + SR_MHZ(12), + SR_MHZ(16), + SR_MHZ(24), 0, }; static struct sr_samplerates samplerates = { - KHZ(200), - MHZ(24), - 0, + SR_KHZ(200), + SR_MHZ(24), + SR_HZ(0), supported_samplerates, };