openbsd-ports/devel/avrdude/patches/patch-stk500v2_c
ckuethe 07ef7149bc merge patches from arduino. add a note on how to load code into an
arduino. tested with a diecimilia.
ok ajacoutot
2008-08-23 07:20:17 +00:00

15 lines
421 B
Plaintext

$OpenBSD: patch-stk500v2_c,v 1.1 2008/08/23 07:20:17 ckuethe Exp $
--- stk500v2.c.orig Tue Jan 30 05:41:53 2007
+++ stk500v2.c Fri Aug 22 20:52:56 2008
@@ -483,6 +483,10 @@ static int stk500v2_getsync(PROGRAMMER * pgm) {
if (pgmtype == PGMTYPE_JTAGICE_MKII)
return 0;
+ // my avrispmkii doesn't respond to the sync --dam@mellis.org
+ if (pgmtype == PGMTYPE_AVRISP_MKII)
+ return 0;
+
retry:
tries++;