]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Added autovector include to fx2lafw header. Software will crash without it
authorJoel Holdsworth <redacted>
Sat, 18 Feb 2012 18:05:25 +0000 (18:05 +0000)
committerUwe Hermann <redacted>
Wed, 22 Feb 2012 21:59:20 +0000 (22:59 +0100)
fx2lafw.c
fx2lafw.h

index 8b6198573c24ef45aae501d09667797152478183..074341d9a53fbd79d06b2f80a6d9414302d6b9bf 100644 (file)
--- a/fx2lafw.c
+++ b/fx2lafw.c
 #include <fx2regs.h>
 #include <fx2macros.h>
 #include <delay.h>
-#include <autovector.h>
 #include <setupdat.h>
 #include <eputils.h>
 #include <gpif.h>
+#include <fx2lafw.h>
 
 /* Protocol commands */
 #define CMD_SET_SAMPLERATE     0xb0
index bec4cb4e5fc365810f8e71db7c3b28234ca70308..5819b6c6190a0429579a65cad8c25e8489e13ea1 100644 (file)
--- a/fx2lafw.h
+++ b/fx2lafw.h
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#include <autovector.h>
+
 /**
  * Performs setup common to all fx2lafw devices.
  */