Ticket #22867: patch-stk500.c.diff
File patch-stk500.c.diff, 688 bytes (added by ranauei@…, 15 years ago) |
---|
-
stk500.c
old new 18 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 */ 20 20 21 /* $Id: stk500.c 8 04 2009-02-23 22:04:57Z joerg_wunsch$ */21 /* $Id: stk500.c 845 2009-10-10 01:41:40Z mludvig $ */ 22 22 23 23 /* 24 24 * avrdude interface for Atmel STK500 programmer … … 73 73 } 74 74 75 75 76 staticint stk500_drain(PROGRAMMER * pgm, int display)76 int stk500_drain(PROGRAMMER * pgm, int display) 77 77 { 78 78 return serial_drain(&pgm->fd, display); 79 79 } 80 80 81 81 82 staticint stk500_getsync(PROGRAMMER * pgm)82 int stk500_getsync(PROGRAMMER * pgm) 83 83 { 84 84 unsigned char buf[32], resp[32]; 85 85