We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 774fbc8 + 43f3b45 commit c29f8d1Copy full SHA for c29f8d1
src/developer_opts.c
@@ -50,6 +50,7 @@
50
51
#include "developer_opts.h"
52
#include "developer_opts_private.h"
53
+#include "usbdevs.h"
54
55
// Inject part parameters into a semi-automated rewrite of avrdude.conf
56
// - Add entries to the tables below; they get written on -p*/si or -c*/si
src/libavrdude.h
@@ -1845,7 +1845,7 @@ typedef struct {
1845
Dis_symbol *dis_symbols;
1846
1847
// Static variables from usb_libusb.c
1848
-#include "usbdevs.h"
+#define USBDEV_MAX_XFER_3 912 // Trust compiler complains if usbdevs.h redefines this
1849
char usb_buf[USBDEV_MAX_XFER_3];
1850
int usb_buflen, usb_bufptr; // @@@ Check whether usb_buflen needs initialising with -1
1851
int usb_interface;
0 commit comments