]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/command.h
Initial driver implementation for MIC 98583.
[libsigrok.git] / hardware / fx2lafw / command.h
index 682ccbaf28aa6d5df8aeedd524022351a361dccd..53e7da3c71649380187a10d16bb0250855ddbdce 100644 (file)
@@ -20,9 +20,8 @@
 #ifndef LIBSIGROK_HARDWARE_FX2LAFW_COMMAND_H
 #define LIBSIGROK_HARDWARE_FX2LAFW_COMMAND_H
 
-#include <stdbool.h>
-
-#include "sigrok.h"
+#include <glib.h>
+#include "libsigrok.h"
 
 /* Protocol commands */
 #define CMD_GET_FW_VERSION             0xb0
@@ -58,7 +57,6 @@ SR_PRIV int command_get_fw_version(libusb_device_handle *devhdl,
 SR_PRIV int command_get_revid_version(libusb_device_handle *devhdl,
                                      uint8_t *revid);
 SR_PRIV int command_start_acquisition(libusb_device_handle *devhdl,
-                                     uint64_t samplerate,
-                                     bool samplewide);
+                                     uint64_t samplerate, gboolean samplewide);
 
 #endif