mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-15 02:01:07 +00:00
* configure.ac: reactivate check for TYPE_232H, which does not exist in libftdi < 0.20
* avrftdi*.*: changed include check for libftdi/libusb, deactivate 232H if not available * ft245r.c: changed include check for libftdi/libusb git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1180 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -15,15 +15,7 @@
|
||||
#include "avrftdi_tpi.h"
|
||||
#include "avrftdi_private.h"
|
||||
|
||||
#ifdef HAVE_LIBUSB_1_0
|
||||
#if defined(HAVE_LIBFTDI1) || defined(HAVE_LIBFTDI)
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
#ifdef HAVE_LIBFTDI1
|
||||
#include <libftdi1/ftdi.h>
|
||||
#elif HAVE_LIBFTDI
|
||||
#include <ftdi.h>
|
||||
#endif
|
||||
#ifndef DO_NOT_BUILD_AVRFTDI
|
||||
|
||||
static void avrftdi_tpi_disable(PROGRAMMER *);
|
||||
static int avrftdi_tpi_program_enable(PROGRAMMER * pgm, AVRPART * p);
|
||||
@@ -256,11 +248,5 @@ avrftdi_tpi_disable(PROGRAMMER * pgm)
|
||||
log_info("Leaving Programming mode.\n");
|
||||
}
|
||||
|
||||
#else /* HAVE_LIBFTDI1 */
|
||||
|
||||
#endif /* HAVE_LIBFTDI1 */
|
||||
|
||||
#else /* HAVE_LIBUSB_1_0 */
|
||||
|
||||
#endif /* HAVE_LIBUSB_1_0 */
|
||||
#endif /* DO_NOT_BUILD_AVRFTDI */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user