Remove #include "usbdevs.h" from libavrdude.h

This commit is contained in:
stefanrueger
2025-03-22 01:27:15 +01:00
parent 8c4b69ac47
commit 43f3b45561
2 changed files with 2 additions and 1 deletions

View File

@@ -50,6 +50,7 @@
#include "developer_opts.h"
#include "developer_opts_private.h"
#include "usbdevs.h"
// Inject part parameters into a semi-automated rewrite of avrdude.conf
// - Add entries to the tables below; they get written on -p*/si or -c*/si

View File

@@ -1844,7 +1844,7 @@ typedef struct {
Dis_symbol *dis_symbols;
// Static variables from usb_libusb.c
#include "usbdevs.h"
#define USBDEV_MAX_XFER_3 912 // Trust compiler complains if usbdevs.h redefines this
char usb_buf[USBDEV_MAX_XFER_3];
int usb_buflen, usb_bufptr; // @@@ Check whether usb_buflen needs initialising with -1
int usb_interface;