mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-10-01 09:56:51 +00:00
Submitted by Martino Facchin:
patch #9728: Fix UsbTiny programmer * usbtiny.c (usbtiny_initialize): Only consider pgm->program_enable successful if returning 0 git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1429 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -3,3 +3,11 @@
|
||||
Submitted by Milan Kupcevic:
|
||||
patch #9735: spelling error fix: psuedo -> pseudo
|
||||
* avrpart.c (avr_display): Spelling fix
|
||||
|
||||
2019-01-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||
|
||||
Submitted by Martino Facchin:
|
||||
patch #9728: Fix UsbTiny programmer
|
||||
* usbtiny.c (usbtiny_initialize): Only consider
|
||||
pgm->program_enable successful if returning 0
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ Current:
|
||||
patch #8128: Added new option to configure.ac script
|
||||
patch #8444: Proposal for modifications in -B and -U command options managment (partially)
|
||||
patch #9735: spelling error fix: psuedo -> pseudo
|
||||
patch #9728: Fix UsbTiny programmer
|
||||
|
||||
* Internals:
|
||||
- New avrdude.conf keyword "family_id", used to verify SIB attributes
|
||||
|
||||
@@ -502,7 +502,7 @@ static int usbtiny_initialize (PROGRAMMER *pgm, AVRPART *p )
|
||||
}
|
||||
|
||||
for (tries = 0; tries < 4; ++tries) {
|
||||
if (pgm->program_enable(pgm, p) >= 0)
|
||||
if (pgm->program_enable(pgm, p) == 0)
|
||||
break;
|
||||
// no response, RESET and try again
|
||||
if (usb_control(pgm, USBTINY_POWERUP,
|
||||
|
||||
Reference in New Issue
Block a user