From 43417206dfb9e861b382ebd1ccf4aeb1f469469a Mon Sep 17 00:00:00 2001
From: bdean <bdean@81a1dc3b-b13d-400b-aceb-764788c761c2>
Date: Wed, 5 Mar 2003 04:37:09 +0000
Subject: [PATCH] Make the page size used for non-paged parts for the
 'paged_write' command be 128 bytes.  This cuts 6 seconds off the programming
 time for uploading a 6K file into an AT90S8515 vs the time loading the same
 file using a 16 byte buffer, and the response feedback is still good.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@261 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 stk500.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stk500.c b/stk500.c
index add8c8f1..dfd009ed 100644
--- a/stk500.c
+++ b/stk500.c
@@ -881,7 +881,7 @@ static int stk500_paged_write(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
   unsigned int n;
 
   if (page_size == 0) {
-    page_size = 16;
+    page_size = 128;
   }
 
   if (strcmp(m->desc, "flash") == 0) {