]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/zeroplus-logic-cube/analyzer.c
Use ALL_ZERO in a few more places.
[libsigrok.git] / src / hardware / zeroplus-logic-cube / analyzer.c
index 9453bd0b17599168e7d21ff9cb8f5776f941a0e5..aa5643ab7e80626dbc43340b5e2aa02e259899d4 100644 (file)
@@ -29,8 +29,9 @@
  *  THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <config.h>
 #include <assert.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "analyzer.h"
 #include "gl_usb.h"
@@ -309,7 +310,7 @@ static int __analyzer_set_freq(libusb_device_handle *devh, int freq, int scale)
                {   1, FREQ_SCALE_KHZ, 64,  5,  5 },
                { 500, FREQ_SCALE_HZ,  64, 10,  5 },
                { 100, FREQ_SCALE_HZ,  68,  5,  8 },
-               {   0, 0,              0,   0,  0 }
+               ALL_ZERO
        };
 
        int i;