]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
sr: Made sample rate lists const
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index 3d738c7a51427c5432b30d335435c37a1aa8f2e2..52c4c3a612c5ab0fd2c7247a09a9ac17da043209 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * This file is part of the sigrok project.
  *
+ * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * This program is free software: you can redistribute it and/or modify
@@ -31,8 +32,7 @@
 #define NUM_SIMUL_TRANSFERS    32
 #define MAX_EMPTY_TRANSFERS    (NUM_SIMUL_TRANSFERS * 2)
 
-#define FX2LAFW_VERSION_MAJOR  1
-#define FX2LAFW_VERSION_MINOR  0
+#define FX2LAFW_REQUIRED_VERSION_MAJOR 1
 
 /* 6 delay states of up to 256 clock ticks */
 #define MAX_SAMPLE_DELAY       (6 * 256)
@@ -64,7 +64,7 @@ struct context {
         */
        int64_t fw_updated;
 
-       /* Device/Capture Settings */
+       /* Device/capture settings */
        uint64_t cur_samplerate;
        uint64_t limit_samples;