diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog index 7c7e7f49..4f4df927 100644 --- a/avrdude/ChangeLog +++ b/avrdude/ChangeLog @@ -1,3 +1,10 @@ +2010-07-27 Joerg Wunsch + + bug #30566: MinGW + Ubuntu 9.04 + * stk500v2.c (stk500v2_open): use same condition to refer to the AVR + Doper support as used in the definition in ser_avrdoper.c. + (Thanks to Christian Starkjohann for the analysis of the problem.) + 2010-07-19 Michal Ludvig * buspirate.c: Added compatibility with BusPirate "NewUI" firmware 5.x diff --git a/avrdude/stk500v2.c b/avrdude/stk500v2.c index 3956223e..25f501be 100644 --- a/avrdude/stk500v2.c +++ b/avrdude/stk500v2.c @@ -1285,7 +1285,7 @@ static int stk500v2_open(PROGRAMMER * pgm, char * port) PDATA(pgm)->pgmtype = PGMTYPE_UNKNOWN; if(strcasecmp(port, "avrdoper") == 0){ -#if defined(HAVE_LIBUSB) || defined(WIN32NATIVE) +#if defined(HAVE_LIBUSB) || (defined(WIN32NATIVE) && defined(HAVE_LIBHID)) serdev = &avrdoper_serdev; PDATA(pgm)->pgmtype = PGMTYPE_STK500; #else