Ticket #22867: patch-ser_avrdoper.c.diff
File patch-ser_avrdoper.c.diff, 1.0 KB (added by ranauei@…, 15 years ago) |
---|
-
ser_avrdoper.c
old new 19 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 20 */ 21 21 22 /* $Id: ser_avrdoper.c 8 37 2009-07-10 22:48:48Z joerg_wunsch$ */22 /* $Id: ser_avrdoper.c 845 2009-10-10 01:41:40Z mludvig $ */ 23 23 24 24 /* 25 25 * Serial Interface emulation for USB programmer "AVR-Doper" in HID mode. … … 634 634 635 635 /* ------------------------------------------------------------------------- */ 636 636 637 static int avrdoper_set_dtr_rts(union filedescriptor *fdp, int is_on) 638 { 639 fprintf(stderr, "%s: AVR-Doper doesn't support DTR/RTS setting\n", progname); 640 return -1; 641 } 642 643 /* ------------------------------------------------------------------------- */ 644 637 645 struct serial_device avrdoper_serdev = 638 646 { 639 647 .open = avrdoper_open, … … 641 649 .send = avrdoper_send, 642 650 .recv = avrdoper_recv, 643 651 .drain = avrdoper_drain, 652 .set_dtr_rts = avrdoper_set_dtr_rts, 644 653 .flags = SERDEV_FL_NONE, 645 654 }; 646 655