From c9bd1ad7ec7f565a607e0c759ffcb805729208c5 Mon Sep 17 00:00:00 2001
From: Joerg Wunsch <j@uriah.heep.sax.de>
Date: Wed, 9 Aug 2006 19:56:48 +0000
Subject: [PATCH] stk500v2_program_enable(): Fix a typo (synchloops vs.
 synchcycles).

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@598 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 ChangeLog  | 5 +++++
 stk500v2.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 9e15cc8e..4685eca4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-09 Joerg Wunsch <j@uriah.heep.sax.de>
+
+	* stk500v2.c (stk500v2_program_enable): Fix a typo
+	(synchloops vs. synchcycles).
+
 2006-08-04 Joerg Wunsch <j@uriah.heep.sax.de>
 
 	* avrdude.conf.in: Add parallel programming definitions for
diff --git a/stk500v2.c b/stk500v2.c
index 5d6b36aa..e57876a3 100644
--- a/stk500v2.c
+++ b/stk500v2.c
@@ -504,7 +504,7 @@ static int stk500v2_program_enable(PROGRAMMER * pgm, AVRPART * p)
   buf[1] = p->timeout;
   buf[2] = p->stabdelay;
   buf[3] = p->cmdexedelay;
-  buf[4] = p->synchcycles;
+  buf[4] = p->synchloops;
   buf[5] = p->bytedelay;
   buf[6] = p->pollvalue;
   buf[7] = p->pollindex;